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 b4e4dd7c4..d2834d2ff 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -35,7 +35,7 @@ CmdResult cmd_notice::Handle (const char** parameters, int pcnt, userrec *user) if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0)) return CMD_SUCCESS; - if ((parameters[0][0] == '$') && ((*user->oper) || (ServerInstance->ULine(user->server)))) + if ((parameters[0][0] == '$') && (IS_OPER(user) || ServerInstance->ULine(user->server))) { int MOD_RESULT = 0; std::string temp = parameters[1]; |