diff options
author | Sadie Powell <sadie@witchery.services> | 2024-10-04 15:08:44 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-10-04 15:08:44 +0100 |
commit | 0ab0e4737c823cf0b3f26db550579c2f550e06ff (patch) | |
tree | d25f194300b134b26362d523f6e91b193ec35a7a /modules/protocol/unrealircd.cpp | |
parent | cdf356ed33a56926412c1d063b614f6b7f9f72d8 (diff) |
Remove some unnecessary debug logging.
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); |