diff options
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r-- | src/modules/m_censor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index 46e4daa48..0a90d1025 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -38,8 +38,6 @@ class CensorChannel : public SimpleChannelModeHandler class ModuleCensor : public Module { - - censor_t censors; CensorUser *cu; CensorChannel *cc; @@ -115,7 +113,7 @@ class ModuleCensor : public Module { if (index->second.empty()) { - user->WriteNumeric(936, "%s %s %s :Your message contained a censored word, and was blocked", user->nick.c_str(), ((Channel*)dest)->name.c_str(), index->first.c_str()); + user->WriteNumeric(ERR_WORDFILTERED, "%s %s %s :Your message contained a censored word, and was blocked", user->nick.c_str(), ((Channel*)dest)->name.c_str(), index->first.c_str()); return 1; } |