瀏覽代碼

* Ported [2428] to 1.2.9 (fixes #161)

svn: 2585
Bryan Drewery 20 年之前
父節點
當前提交
44c7e57bc0
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/misc.c

+ 1 - 0
doc/UPDATES

@@ -17,6 +17,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed a flaw in binary checksums.
 * Removed references to the old 'greet' features of eggdrop from help.
 * Fixed tempdir checking to attempt to 'mkdir ~/.ssh/' for '~/.ssh/...' tempdir.
+* Fixed bot link getting colors. (fixes #161)
 
 1.2.8
 * Fixed [bot]* cmds depending on case of botnicks.

+ 1 - 1
src/misc.c

@@ -1118,7 +1118,7 @@ coloridx(int idx)
     return 2;	/* mIRC */
   /* valid idx and NOT relaying */
   } else if (idx >= 0) {
-    if (dcc[idx].irc) {
+    if (dcc[idx].irc || dcc[idx].bot) {
       return 0;
     } else if ((dcc[idx].status & STAT_COLOR) && (dcc[idx].type && dcc[idx].type != &DCC_RELAYING)) {
       /* telnet probably wants ANSI, even though it might be a relay from an mIRC client; fuck`em */