diff options
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r-- | modules/protocol/unrealircd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index 6434b4007..75a68bf6f 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -22,17 +22,11 @@ namespace bool IsExtBan(const Anope::string &str, Anope::string &name, Anope::string &value) { if (str[0] != '~') - { - Log() << "missing prefix: " << str; return false; - } auto endpos = str.find_first_not_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", 1); if (endpos == Anope::string::npos || str[endpos] != ':' || endpos+1 == str.length()) - { - Log() << "wrong format: " << str; return false; - } name = str.substr(1, endpos - 1); value = str.substr(endpos + 1); |