summaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 30eab34df..163f30f73 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -53,10 +53,10 @@ class ModuleSetName : public Module
{
cmd_setname* mycommand;
public:
- ModuleSetName(Server* Me)
+ ModuleSetName(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
mycommand = new cmd_setname();
Srv->AddCommand(mycommand);
}
@@ -85,7 +85,7 @@ class ModuleSetNameFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleSetName(Me);
}