Просмотр исходного кода

* Fixed wrong spacing in cmd_status

svn: 2113
Bryan Drewery 21 лет назад
Родитель
Сommit
f916784e92
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      doc/UPDATES
  2. 2 2
      src/mod/irc.mod/irc.c

+ 1 - 0
doc/UPDATES

@@ -131,6 +131,7 @@ Lines prefixed with '-' were disabled before release and are not finishsed, or a
 * Disabled auto-renaming server names internally on connect if they don't match our own list
 * Fixed hub delinking bots for not sharing instead of just offering the userfile again. (#59)
 * Possibly fixed a very rare userfile sharing desync (#58)
+* Fixed wrong spacing in cmd_status
 
 1.2.2
 * Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.

+ 2 - 2
src/mod/irc.mod/irc.c

@@ -1439,8 +1439,8 @@ irc_report(int idx, int details)
       }
       len = simple_sprintf(ch, "%s%s%s%s, ", chan->dname, p ? "(" : "", p ? p : "", p ? ")" : "");
       if ((k + len) > 70) {
-        dprintf(idx, "   %s\n", q);
-        strcpy(q, "          ");
+        dprintf(idx, "    %s\n", q);
+        strcpy(q, "           ");
         k = 10;
       }
       k += my_strcpy(q + k, ch);