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

* checkchannels now displays server. (fixes #420)

svn: 3839
Bryan Drewery 18 лет назад
Родитель
Сommit
167d1e6742
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/channels.c

+ 1 - 0
doc/UPDATES

@@ -10,6 +10,7 @@
 * Speed up botnet parsing / set lookups /cmd_help a bit
 * Fix some various issues with initial setups and new PackConfig format
 * Greatly sped up binary startup - lower resource usage for cron checks, etc.
+* checkchannels now displays server. (fixes #420)
 
 1.2.15 - http://wraith.botpack.net/milestone/1.2.15
 * Fix a possible segfault when binaries compiled wrong

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

@@ -216,7 +216,7 @@ void rcmd_chans(char *fbot, char *fhand, char *fidx) {
     }
 
     if (buf[0])
-      simple_snprintf(reply, sizeof(reply), "I am not in: %s", buf);
+      simple_snprintf(reply, sizeof(reply), "[%s] I am not in: %s", cursrvname, buf);
   } else
     simple_snprintf(reply, sizeof(reply), "I am not online.");