diff options
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r-- | src/modules/m_censor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index 8ed3d47f3..60cc6dc39 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -102,7 +102,7 @@ class CensorChannel : public ModeHandler class ModuleCensor : public Module { - Server *Srv; + censor_t censors; CensorUser *cu; CensorChannel *cc; @@ -127,8 +127,8 @@ class ModuleCensor : public Module OnRehash(""); cu = new CensorUser(ServerInstance); cc = new CensorChannel(ServerInstance); - Srv->AddMode(cu, 'G'); - Srv->AddMode(cc, 'G'); + ServerInstance->AddMode(cu, 'G'); + ServerInstance->AddMode(cc, 'G'); } void Implements(char* List) |