diff options
author | Adam <Adam@anope.org> | 2013-02-14 20:58:01 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-02-14 20:58:01 -0500 |
commit | fc1d7ea89b5beed96022499fe7fa86bef7cf2aad (patch) | |
tree | 0208b9f5e153191742d15c51d6ca98737d8f7eb9 /modules/commands/bs_bot.cpp | |
parent | 391f2822c8f6da7d6ffa8114817a8baf2aa265d5 (diff) |
Switch Destroy methods to delete
Diffstat (limited to 'modules/commands/bs_bot.cpp')
-rw-r--r-- | modules/commands/bs_bot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_bot.cpp b/modules/commands/bs_bot.cpp index f46d61ef9..dd6da27d6 100644 --- a/modules/commands/bs_bot.cpp +++ b/modules/commands/bs_bot.cpp @@ -242,7 +242,7 @@ class CommandBSBot : public Command Log(LOG_ADMIN, source, this) << "DEL " << bi->nick; source.Reply(_("Bot \002%s\002 has been deleted."), nick.c_str()); - bi->Destroy(); + delete bi; return; } public: |