diff options
| author | 2008-07-14 07:24:37 +0000 | |
|---|---|---|
| committer | 2008-07-14 07:24:37 +0000 | |
| commit | fce32c7b5baa50aa4d2d414e0361009489eccd1c (patch) | |
| tree | 1f6198cf5902f2f487f889fdc0085ca67c57c244 /src/modules/m_censor.cpp | |
| parent | Convert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGIST... (diff) | |
Lots, lots more numerics.h conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
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; } |
