diff options
author | Adam <Adam@anope.org> | 2011-03-05 17:43:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-05 17:43:51 -0500 |
commit | a0355dfd9de6d7366ed23e62e16d1e945dd28776 (patch) | |
tree | d56851c8e3fbf481e32b28e58d34da364ea3dc1b | |
parent | 6fe2d8af973dfb0c81f513e56488e39a4eea2fbf (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 191ef958d..836ddb263 100644 --- a/modules/core/bs_badwords.cpp +++ b/modules/core/bs_badwords.cpp @@ -206,9 +206,10 @@ class CommandBSBadwords : public Command bool override = !check_access(source.u, ci, CA_BADWORDS); Log(override ? LOG_OVERRIDE : LOG_COMMAND, source.u, this, ci) << "DEL " << badword->word; - ci->EraseBadWord(i); source.Reply(_("\002%s\002 deleted from %s bad words list."), badword->word.c_str(), ci->name.c_str()); + + ci->EraseBadWord(i); } return MOD_CONT; |