diff options
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r-- | src/modules/m_userip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 861d5a0e5..35368d57f 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -26,7 +26,7 @@ using namespace std; /* $ModDesc: Provides support for USERIP command */ -static Server *Srv; + extern InspIRCd* ServerInstance; class cmd_userip : public command_t @@ -64,7 +64,7 @@ class ModuleUserIP : public Module { mycommand = new cmd_userip(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } void Implements(char* List) |