瀏覽代碼

* Show +r bots in cmd_userlist

Bryan Drewery 16 年之前
父節點
當前提交
1eefb26e4f
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      doc/UPDATES
  2. 1 0
      src/cmds.c

+ 1 - 1
doc/UPDATES

@@ -87,7 +87,7 @@
   * Removed 'chanset +knock' and replaced with 'chanset knock (Op|Voice|User)', see 'help chaninfo'.
   * Default log timestamp now includes seconds.
   * Hubs no longer include their own timestamp over botnet.
-  * Floodbots (+f) are now listed in cmd_userlist
+  * Floodbots (+f) and Resolvbots (+r) are now listed in cmd_userlist
   * Floodbots (+f) will automatically unDEAF themselves to they can monitor the channel for floods (namely flood-chan).
     Note that this is done about 10 seconds after adding +f to a bot. Removing +f will set DEAF again.
 

+ 1 - 0
src/cmds.c

@@ -874,6 +874,7 @@ static void cmd_userlist(int idx, char *par)
   PRINT_USERS(1, BOT_CHANHUB, 0, "Chatbots");
   PRINT_USERS(1, BOT_DOVOICE, 0, "Voicebots");
   PRINT_USERS(1, BOT_DOLIMIT, 0, "Limitbots");
+  PRINT_USERS(1, BOT_DORESOLV, 0, "Resolvbots");
   PRINT_USERS(1, BOT_FLOODBOT, 0, "Floodbots");
   tt = 0;
   PRINT_USERS(0, USER_ADMIN, 0, "Admins");