diff options
author | Adam <Adam@anope.org> | 2011-08-12 12:46:11 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-12 12:46:11 -0400 |
commit | f3d7d4ee3799513eee820d6c79d4e925fc47760e (patch) | |
tree | 583e40fcb17d66a523493b9edf4ef5c5ed321fa1 /src/main.cpp | |
parent | feee50e6959171123773417caab73ecad3af824b (diff) |
Track when our clients are introduced or not
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index df3d217dd..401431683 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); |