ソースを参照

* Show total groups when matching on a bot

Bryan Drewery 14 年 前
コミット
dbe57ab17a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/cmds.c

+ 1 - 1
src/cmds.c

@@ -947,7 +947,7 @@ static void cmd_groups(int idx, char *par)
 
   if (botnick.length()) {
     dprintf(idx, "%s is in groups: %s\n", botnick.c_str(), static_cast<bd::String>(botGroups[botnick].join(" ")).c_str());
-    dprintf(idx, "Total groups: %zu\n", botGroups[botnick].length());
+    dprintf(idx, "Total groups: %zu/%zu\n", botGroups[botnick].length(), allgroups.length());
   } else {
     // Display all groups and which bots are in them
     for (size_t i = 0; i < allgroups.length(); ++i) {