diff options
author | Adam <Adam@anope.org> | 2011-03-05 18:21:20 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-05 18:21:20 -0500 |
commit | 8d64d91742f9aae3a659ad9f5e96ee650e2eeaed (patch) | |
tree | b0882417b27eef9e7a713c57dcda41d5e83a64ee | |
parent | ed4c5e14571be95fc44a5dde5f875807b2842988 (diff) |
Fixed /bs badword del to show what word was deleted
-rw-r--r-- | modules/core/bs_badwords.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/bs_badwords.cpp b/modules/core/bs_badwords.cpp index d6fe6bfd5..a44b188af 100644 --- a/modules/core/bs_badwords.cpp +++ b/modules/core/bs_badwords.cpp @@ -202,9 +202,10 @@ class CommandBSBadwords : public Command bool override = !check_access(u, ci, CA_BADWORDS); Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "DEL " << badword->word; - ci->EraseBadWord(i); u->SendMessage(BotServ, BOT_BADWORDS_DELETED, badword->word.c_str(), ci->name.c_str()); + + ci->EraseBadWord(i); } return MOD_CONT; |