]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_motd.cpp
Fixed an issue that could cause empty parameters in module commands to not be sent...
[user/henk/code/inspircd.git] / src / cmd_motd.cpp
index f6c76dac4d9397e168f48fe973615785418fe5f3..38117be6b0feb6ca8a52e3ae3f0d63ef76f7f83e 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
 #include "commands/cmd_motd.h"
 
 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
@@ -24,7 +23,6 @@ extern "C" DllExport command_t* init_command(InspIRCd* Instance)
  */
 CmdResult cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
 {
-       if (!pcnt)
-               user->ShowMOTD();
+       user->ShowMOTD();
        return CMD_SUCCESS;
 }