]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_motd.cpp
Untested! New m_watch that should be hundreds of times faster (im not joking either)
[user/henk/code/inspircd.git] / src / cmd_motd.cpp
index 424a38794ed16c2f70de2a185e3752d9ab38e817..551d76c9e1eb5804d893a37c52ceab6c164edabe 100644 (file)
@@ -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;
 }