diff options
| author | 2006-05-07 20:58:09 +0000 | |
|---|---|---|
| committer | 2006-05-07 20:58:09 +0000 | |
| commit | e698801cf1ba7cc4066165e46dc61666c1e29a46 (patch) | |
| tree | 3bf9023211c47bf0992c8e7867593d46192d4b7f /src/cmd_privmsg.cpp | |
| parent | Add validation for channel name, throws an exception aborting the module load... (diff) | |
Let ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on services packages is fixed :)
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3939 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 9ab0532c5..9947e79cf 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -70,7 +70,7 @@ void cmd_privmsg::Handle (char **parameters, int pcnt, userrec *user) if (ServerInstance->Parser->LoopCall(this,parameters,pcnt,user,0,pcnt-2,0)) return; - if ((parameters[0][0] == '$') && (*user->oper)) + if ((parameters[0][0] == '$') && ((*user->oper) || (is_uline(user->server)))) { // notice to server mask char* servermask = parameters[0]; |
