1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:34:48 +02:00

Fixed /bs badword del to show what word was deleted

This commit is contained in:
Adam
2011-03-05 18:21:20 -05:00
parent ed4c5e1457
commit 8d64d91742
+2 -1
View File
@@ -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;