Selaa lähdekoodia

* Minor cmd relaying changes/fixes

svn: 144
Bryan Drewery 23 vuotta sitten
vanhempi
commit
6a8e086878
2 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 0 2
      src/botcmd.c
  2. 1 1
      src/cmds.c

+ 0 - 2
src/botcmd.c

@@ -1494,8 +1494,6 @@ static void bot_rsim(char *botnick, char *code, char *par)
   if (ridx < 0 || !nick || !cmd)
     return;
 
-  putlog(LOG_DEBUG, "*", "#%s@%s# %s %s", nick, botnick, cmd, par);
-
   for (i = 0; i < dcc_total; i++) {
    if (dcc[i].simul == ridx) {
      putlog(LOG_DEBUG, "*", "Simul found old idx for %s: %d (ridx: %d)", nick, i, ridx);

+ 1 - 1
src/cmds.c

@@ -1457,7 +1457,7 @@ static void cmd_botcmd(struct userrec *u, int idx, char *par)
     return;
   }
 
-  putlog(LOG_CMDS, "*", "#%s# botcmd %s %s", dcc[idx].nick, bot, cmd);		/* the rest of the cmd will be logged remotely */
+  putlog(LOG_CMDS, "*", "#%s# botcmd %s %s ...", dcc[idx].nick, bot, cmd);		/* the rest of the cmd will be logged remotely */
   if (nextbot(bot) < 0) {
     dprintf(idx, STR("No such bot linked\n"));
     return;