summaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index d9be627e5..b28dc49ed 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -12,7 +12,7 @@ using namespace std;
/* $ModDesc: Shows a message to opers after oper-up, adds /opermotd */
static FileReader* opermotd;
-static Server* Srv;
+
void LoadOperMOTD()
{
@@ -68,7 +68,7 @@ class ModuleOpermotd : public Module
{
mycommand = new cmd_opermotd();
- Srv->AddCommand(mycommand);
+ ServerInstance->AddCommand(mycommand);
opermotd = new FileReader();
LoadOperMOTD();
}