From 0663f5e41296df36c196425f72516e7dad7c8f2d Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 26 Apr 2014 17:45:16 -0400 Subject: [PATCH] Fire the on user quit event when bots are deleted too --- src/bots.cpp | 1 + 1 file changed, 1 insertion(+) 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);