Parcourir la source

* checkchannels now displays server. (fixes #420)

svn: 3839
Bryan Drewery il y a 18 ans
Parent
commit
167d1e6742
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  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.");