Bladeren bron

Merge branch 'master' into next

* master:
  * Fix compile error on older gcc
Bryan Drewery 14 jaren geleden
bovenliggende
commit
336165b1f7
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/botnet.c

+ 1 - 1
src/botnet.c

@@ -575,7 +575,7 @@ tell_bots(int idx, int up, const char *nodename)
       }
       }
       ++total;
       ++total;
       bd::String botnick(u->handle);
       bd::String botnick(u->handle);
-      const bd::Array<bd::String> botgroups(bd::String(var_get_bot_data(u, "groups", true)).split(","));
+      const bd::Array<bd::String> botgroups((bd::String(var_get_bot_data(u, "groups", true))).split(","));
 
 
       // Include this bot?
       // Include this bot?
       const bool group_match = group.length() && botgroups.find(group) != botgroups.npos;
       const bool group_match = group.length() && botgroups.find(group) != botgroups.npos;