diff options
| author | 2006-08-10 15:44:03 +0000 | |
|---|---|---|
| committer | 2006-08-10 15:44:03 +0000 | |
| commit | dafc021be4f3ad34ca37953de6a0109a161dd165 (patch) | |
| tree | f6263063894fa0a923656d64d0e3e1351e0e205f /src/cmd_privmsg.cpp | |
| parent | #define IS_MINGW on..MinGW (*shock*) (diff) | |
cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusFlags(), chanrec::GetStatus()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_privmsg.cpp')
| -rw-r--r-- | src/cmd_privmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index e72e1ef75..9255b67e3 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -77,7 +77,7 @@ void cmd_privmsg::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; |
