summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/bs_bot.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index 2c72246d0..750760e85 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -300,7 +300,11 @@ class CommandBSBot : public Command
if (user)
{
- ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, ircd->pseudoclient_mode, bi->uid.c_str());
+ ircdproto->SendQuit(bi, "Quit: Be right back");
+ // This isn't the nicest way to do this, unfortunately.
+ bi->uid = ts6_uid_retrieve();
+ ircdproto->SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real,
+ ircd->pseudoclient_mode, bi->uid.c_str());
bi->RejoinAll();
}