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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user