diff options
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r-- | src/modules/m_blockcaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index c23fbe741..d023bc733 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -56,7 +56,7 @@ class BlockCaps : public ModeHandler class ModuleBlockCAPS : public Module { - Server *Srv; + BlockCaps* bc; public: @@ -64,7 +64,7 @@ public: { bc = new BlockCaps(ServerInstance); - Srv->AddMode(bc, 'P'); + ServerInstance->AddMode(bc, 'P'); } void Implements(char* List) |