diff options
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r-- | src/modules/m_sethost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 7daccb293..65b03c3d0 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -26,7 +26,7 @@ using namespace std; /* $ModDesc: Provides support for the SETHOST command */ -static Server *Srv; + extern InspIRCd* ServerInstance; class cmd_sethost : public command_t @@ -71,7 +71,7 @@ class ModuleSetHost : public Module { mycommand = new cmd_sethost(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } virtual ~ModuleSetHost() |