From fce32c7b5baa50aa4d2d414e0361009489eccd1c Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 14 Jul 2008 07:24:37 +0000 Subject: Lots, lots more numerics.h conversion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_censor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/m_censor.cpp') 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; } -- cgit v1.3.1-10-gc9f91