1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:46:37 +02:00

Track when our clients are introduced or not

This commit is contained in:
Adam
2011-08-12 12:46:11 -04:00
parent feee50e695
commit f3d7d4ee37
7 changed files with 27 additions and 4 deletions
+5
View File
@@ -127,8 +127,13 @@ class UplinkSocket : public ConnectionSocket
User *u = it->second;
if (u->server == Me)
{
/* Don't use quitmsg here, it may contain information you don't want people to see */
ircdproto->SendQuit(u, "Shutting down");
BotInfo *bi = findbot(u->nick);
if (bi != NULL)
bi->introduced = false;
}
}
ircdproto->SendSquit(Config->ServerName, quitmsg);