+ // HACK: Allow services to know what extbans exist. This will be
+ // replaced by CAPAB EXTBANS in the next protocol version.
+ std::map<std::string, std::string> tokens;
+ FOREACH_MOD(On005Numeric, (tokens));
+ std::map<std::string, std::string>::const_iterator eiter = tokens.find("EXTBAN");
+ if (eiter != tokens.end())
+ extra.append(" EXTBANS=" + eiter->second);
+