aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_setident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setident.cpp')
-rw-r--r--src/modules/m_setident.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp
index ad14c786f..828f25792 100644
--- a/src/modules/m_setident.cpp
+++ b/src/modules/m_setident.cpp
@@ -5,7 +5,7 @@
/* $ModDesc: Provides support for the SETIDENT command */
-static Server *Srv;
+
extern InspIRCd* ServerInstance;
class cmd_setident : public command_t
@@ -43,7 +43,7 @@ class ModuleSetIdent : public Module
{
mycommand = new cmd_setident();
- Srv->AddCommand(mycommand);
+ ServerInstance->AddCommand(mycommand);
}
virtual ~ModuleSetIdent()