diff options
author | Adam <Adam@anope.org> | 2015-07-14 18:52:23 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-07-14 18:52:23 -0400 |
commit | 7fe0543bc67b772c6d3ac9a8d9aa6ae2725ed72e (patch) | |
tree | ce2f85ed8103660ba05875fa652f6a6a12a8d0a9 /src/bots.cpp | |
parent | 2a6ad3d9fcf638ab0b3031aaf4c4d9b5b6059386 (diff) |
Also UnsetExtensibles on botinfo
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 85e605f21..c6a726855 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -49,6 +49,8 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A BotInfo::~BotInfo() { + UnsetExtensibles(); + FOREACH_MOD(OnDelBot, (this)); // If we're synchronised with the uplink already, send the bot. |