diff options
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); |