]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/trusts_commands.c
glines: Only use CIDR masks when necessary.
[irc/quakenet/newserv.git] / trusts / trusts_commands.c
index baa7f1544aa03c47a9214dc02828e42a1402bbf4..9fd092d3ad2a57fa41ee092f7e4c1d7c4cfc80be 100644 (file)
@@ -147,6 +147,13 @@ static char *formatflags(int flags) {
     strncat(buf, "reliable username", 512);
   }
 
+  if(flags & TRUST_UNTHROTTLE) {
+    if(buf[0])
+      strncat(buf, ", ", 512);
+
+    strncat(buf, "unthrottled", 512);
+  }
+
   buf[512-1] = '\0';
 
   return buf;
@@ -315,7 +322,7 @@ static int trusts_cmdtrustspew(void *source, int cargc, char **cargv) {
     return CMD_USAGE;
 
   tree = NSASTNode(tgroup_parse, NSASTLiteral(cargv[0]));
-  return ast_nicksearch(&tree, controlreply, sender, NULL, printnick_channels, NULL, NULL, 2000);
+  return ast_nicksearch(&tree, controlreply, sender, NULL, printnick_channels, NULL, NULL, 2000, NULL);
 }
 
 static int commandsregistered;