diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 82f3b602f..40cd4f39a 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -98,8 +98,9 @@ class ChanFounder : public ModeHandler class ChanProtect : public ModeHandler { + Server* Srv; public: - ChanProtect() : ModeHandler('a', 1, 1, true, MODETYPE_CHANNEL, false) { } + ChanProtect(Server* s) : ModeHandler('a', 1, 1, true, MODETYPE_CHANNEL, false), Srv(s) { } ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { |