diff options
Diffstat (limited to 'src/cmd_notice.cpp')
-rw-r--r-- | src/cmd_notice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index 6825ea5ea..156fc8f55 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -79,7 +79,7 @@ void cmd_notice::Handle (const char** parameters, int pcnt, userrec *user) user->WriteServ("404 %s %s :Cannot send to channel (no external messages)", user->nick, chan->name); return; } - if ((chan->modes[CM_MODERATED]) && (cstatus(user,chan)<STATUS_VOICE)) + if ((chan->modes[CM_MODERATED]) && (chan->GetStatus(user) < STATUS_VOICE)) { user->WriteServ("404 %s %s :Cannot send to channel (+m)", user->nick, chan->name); return; |