mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -170,7 +170,10 @@ impl BotsManager {
|
|||||||
self.bot_port_map.entry(bot_data.id)
|
self.bot_port_map.entry(bot_data.id)
|
||||||
{
|
{
|
||||||
e.insert(self.next_port);
|
e.insert(self.next_port);
|
||||||
self.next_port += 1;
|
|
||||||
|
if !is_first_start {
|
||||||
|
self.next_port += 1;
|
||||||
|
}
|
||||||
|
|
||||||
match self.start_bot(bot_data, is_first_start).await {
|
match self.start_bot(bot_data, is_first_start).await {
|
||||||
BotStartResult::Success => (),
|
BotStartResult::Success => (),
|
||||||
|
|||||||
Reference in New Issue
Block a user