Explorar o código

* Also log to all bots when can't send userfile for some reason

svn: 2078
Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
c543c027e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mod/share.mod/share.c

+ 1 - 1
src/mod/share.mod/share.c

@@ -1303,7 +1303,7 @@ start_sending_users(int idx)
   if ((i = raw_dcc_send(share_file, "*users", "(users)", share_file, &j)) > 0) {
     unlink(share_file);
     dprintf(idx, "s e %s\n", "Can't send userfile to you (internal error)");
-    putlog(LOG_BOTS, "@", "%s -- can't send userfile",
+    putlog(LOG_BOTS, "*", "%s -- can't send userfile",
            i == DCCSEND_FULL ? "NO MORE DCC CONNECTIONS" :
            i == DCCSEND_NOSOCK ? "CAN'T OPEN A LISTENING SOCKET" :
            i == DCCSEND_BADFN ? "BAD FILE" : i == DCCSEND_FEMPTY ? "EMPTY FILE" : "UNKNOWN REASON!");