summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 9b7d1817c..a1533d64f 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -239,7 +239,7 @@ class ModuleRemove : public Module
cmd_remove* mycommand;
cmd_fpart* mycommand2;
bool supportnokicks;
- Server* Srv;
+
public:
ModuleRemove(InspIRCd* Me)
@@ -247,8 +247,8 @@ class ModuleRemove : public Module
{
mycommand = new cmd_remove(supportnokicks);
mycommand2 = new cmd_fpart(supportnokicks);
- Srv->AddCommand(mycommand);
- Srv->AddCommand(mycommand2);
+ ServerInstance->AddCommand(mycommand);
+ ServerInstance->AddCommand(mycommand2);
OnRehash("");
}