Parcourir la source

Don't putlog to a remote idx

svn: 149
Bryan Drewery il y a 23 ans
Parent
commit
22c3c39141
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/misc.c

+ 1 - 1
src/misc.c

@@ -1029,7 +1029,7 @@ void putlog EGG_VARARGS_DEF(int, arg1)
   }
   }
 
 
   for (i = 0; i < dcc_total; i++)
   for (i = 0; i < dcc_total; i++)
-    if ((dcc[i].type == &DCC_CHAT) && (dcc[i].u.chat->con_flags & type)) {
+    if ((dcc[i].type == &DCC_CHAT && !dcc[i].simul) && (dcc[i].u.chat->con_flags & type)) {
       if ((chname[0] == '@') || (chname[0] == '*') || (dcc[i].u.chat->con_chan[0] == '*') ||
       if ((chname[0] == '@') || (chname[0] == '*') || (dcc[i].u.chat->con_chan[0] == '*') ||
 	  (!rfc_casecmp(chname, dcc[i].u.chat->con_chan)))
 	  (!rfc_casecmp(chname, dcc[i].u.chat->con_chan)))
 	dprintf(i, "%s", out);
 	dprintf(i, "%s", out);