!7 answer { if (!webAuthed()) null; if "block ip *" { call(mainBot(), "addBlockedIP", assertIPv4($1)); ret "OK"; } if "unblock ip *" { call(mainBot(), "removeBlockedIP", assertIPv4($1)); ret "OK"; } if "blocked ips" ret structForUser(cloneList((Collection) get(mainBot(), "blockedIPs"))); if "bad clients" ret str(subBot_numStalledConnections()); }