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 6dcab9553..58800ccc0 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -94,7 +94,7 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user) { if (IS_LOCAL(user)) { - if ((chan->binarymodes & CM_NOEXTERNAL) && (!has_channel(user,chan))) + if ((chan->binarymodes & CM_NOEXTERNAL) && (!chan->HasUser(user))) { WriteServ(user->fd,"404 %s %s :Cannot send to channel (no external messages)", user->nick, chan->name); return; |