summaryrefslogtreecommitdiff
path: root/src/modules/m_operjoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index 750f98c96..fd3b3407e 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -39,10 +39,10 @@ class ModuleOperjoin : public Module
}
public:
- ModuleOperjoin(Server* Me)
+ ModuleOperjoin(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
conf = new ConfigReader;
operChan = conf->ReadValue("operjoin", "channel", 0);
}
@@ -93,7 +93,7 @@ class ModuleOperjoinFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleOperjoin(Me);
}