summaryrefslogtreecommitdiff
path: root/src/modules/m_userip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r--src/modules/m_userip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index 80ab67be1..861d5a0e5 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -59,10 +59,10 @@ class ModuleUserIP : public Module
{
cmd_userip* mycommand;
public:
- ModuleUserIP(Server* Me)
+ ModuleUserIP(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
mycommand = new cmd_userip();
Srv->AddCommand(mycommand);
}
@@ -101,7 +101,7 @@ class ModuleUserIPFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleUserIP(Me);
}