diff options
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r-- | src/modules/m_testcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp index ccb5bde6d..ceb0651d8 100644 --- a/src/modules/m_testcommand.cpp +++ b/src/modules/m_testcommand.cpp @@ -109,7 +109,7 @@ class ModuleTestCommand : public Module virtual void OnUserJoin(userrec* user, chanrec* channel) { Srv->Log(DEBUG,"OnUserJoin triggered"); - if (channel->IsCustomModeSet('Z')) + if (channel->IsModeSet('Z')) { std::string param = channel->GetModeParameter('Z'); Srv->Log(DEBUG,"Custom mode is set on this channel! Parameter="+param); |