diff options
Diffstat (limited to 'src/cmd_motd.cpp')
-rw-r--r-- | src/cmd_motd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index 424a38794..551d76c9e 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -26,6 +26,7 @@ extern "C" command_t* init_command(InspIRCd* Instance) */ CmdResult cmd_motd::Handle (const char** parameters, int pcnt, userrec *user) { - user->ShowMOTD(); + if (!pcnt) + user->ShowMOTD(); return CMD_SUCCESS; } |