1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 01:46:38 +02:00

Fixed /bs badword del to show what word was deleted

This commit is contained in:
Adam
2011-03-05 17:43:51 -05:00
parent 6fe2d8af97
commit a0355dfd9d
+2 -1
View File
@@ -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;