mirror of
https://github.com/anope/anope.git
synced 2026-07-03 06:33:13 +02:00
Patch to make changing bots not send multiple QUIT commands (Thanks Adam).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2265 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+4
-3
@@ -300,9 +300,10 @@ class CommandBSBot : public Command
|
||||
|
||||
if (user)
|
||||
{
|
||||
ircdproto->SendQuit(bi, "Quit: Be right back");
|
||||
// This isn't the nicest way to do this, unfortunately.
|
||||
bi->uid = ts6_uid_retrieve();
|
||||
if (ircd->ts6) {
|
||||
// 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