1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 03:36:37 +02:00

Fire the on user quit event when bots are deleted too

This commit is contained in:
Adam
2014-04-26 17:45:16 -04:00
parent 2ee496b8ac
commit 0663f5e412
+1
View File
@@ -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);