diff options
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r-- | src/modules/m_opermodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index f03d68813..b354abf0a 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -28,7 +28,7 @@ class ModuleModesOnOper : public Module { private: - Server *Srv; + ConfigReader *Conf; public: @@ -79,7 +79,7 @@ class ModuleModesOnOper : public Module const char* modes[2]; modes[0] = user->nick; modes[1] = ThisOpersModes.c_str(); - Srv->SendMode(modes,2,user); + ServerInstance->SendMode(modes,2,user); } break; } |