Ver código fonte

* Only show cmd_debug log if \!par

svn: 836
Bryan Drewery 22 anos atrás
pai
commit
1a562c091f
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/cmds.c

+ 2 - 1
src/cmds.c

@@ -1889,7 +1889,8 @@ static void cmd_debug(struct userrec *u, int idx, char *par)
 {
   char *cmd = NULL;
 
-  putlog(LOG_CMDS, "*", STR("#%s# debug"), dcc[idx].nick);
+  if (!par[0])
+    putlog(LOG_CMDS, "*", STR("#%s# debug"), dcc[idx].nick);
 
   if (par[0])
     cmd = newsplit(&par);