diff options
author | Adam <Adam@anope.org> | 2014-04-26 17:45:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-04-26 17:45:16 -0400 |
commit | 0663f5e41296df36c196425f72516e7dad7c8f2d (patch) | |
tree | 63c42a2fdefdd2204e80950a99a5541eeacdd2f4 /src/bots.cpp | |
parent | 2ee496b8ac2aff980103237331514f31b7fdc039 (diff) |
Fire the on user quit event when bots are deleted too
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 77b7d1c35..9ce918a91 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -55,6 +55,7 @@ BotInfo::~BotInfo() if (Me && Me->IsSynced()) { IRCD->SendQuit(this, ""); + FOREACH_MOD(OnUserQuit, (this, "")); this->introduced = false; XLine x(this->nick); IRCD->SendSQLineDel(&x); |