]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/trusts_commands.c
Implement for unthrottling trusted IP addresses using IAuth.
[irc/quakenet/newserv.git] / trusts / trusts_commands.c
index baa7f1544aa03c47a9214dc02828e42a1402bbf4..820a4a600ac9b1c66236f10a7752542598fc0a77 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;