summaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:43:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:43:15 +0000
commite51a4b5c29deac855496d6658a3c4612a61ffbb7 (patch)
tree56fc8b6ff360388567bcb64aee8dfd179085edf4 /src/modules/m_censor.cpp
parent6c9588419d3cfe01d04d3c870eaac712bb6745b8 (diff)
Move InsertMode into ModeParser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r--src/modules/m_censor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 5d18f9de8..deeb68685 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -28,6 +28,8 @@ typedef std::map<irc::string,irc::string> censor_t;
/* $ModDesc: Provides user and channel +G mode */
+extern InspIRCd* ServerInstance;
+
class CensorException : public ModuleException
{
public:
@@ -137,7 +139,7 @@ class ModuleCensor : public Module
virtual void On005Numeric(std::string &output)
{
- InsertMode(output,"G",4);
+ ServerInstance->ModeGrok->InsertMode(output,"G",4);
}
virtual ~ModuleCensor()