summaryrefslogtreecommitdiff
path: root/src/modules/m_globalload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_globalload.cpp')
-rw-r--r--src/modules/m_globalload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index ef3c1cb5d..c552cb346 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -77,15 +77,15 @@ class ModuleGlobalLoad : public Module
{
cmd_gloadmodule *mycommand;
cmd_gunloadmodule *mycommand2;
- Server *Srv;
+
public:
ModuleGlobalLoad(InspIRCd* Me) : Module::Module(Me)
{
mycommand = new cmd_gloadmodule();
mycommand2 = new cmd_gunloadmodule();
- Srv->AddCommand(mycommand);
- Srv->AddCommand(mycommand2);
+ ServerInstance->AddCommand(mycommand);
+ ServerInstance->AddCommand(mycommand2);
}
virtual ~ModuleGlobalLoad()