mirror of
https://github.com/anope/anope.git
synced 2026-06-27 04:46:37 +02:00
Regenerate UID on BOT CHANGE, don't try reuse an existing one.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2212 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+5
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user