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 8d0aecef0..7ce2d93c5 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -88,7 +88,7 @@ CmdResult cmd_notice::Handle (const char** parameters, int pcnt, userrec *user) } parameters[1] = temp.c_str(); - if (temp == "") + if (temp.empty()) { user->WriteServ("412 %s No text to send", user->nick); return CMD_FAILURE; |