summaryrefslogtreecommitdiff
path: root/modules/protocol/unrealircd.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-04 15:08:44 +0100
committerSadie Powell <sadie@witchery.services>2024-10-04 15:08:44 +0100
commit0ab0e4737c823cf0b3f26db550579c2f550e06ff (patch)
treed25f194300b134b26362d523f6e91b193ec35a7a /modules/protocol/unrealircd.cpp
parentcdf356ed33a56926412c1d063b614f6b7f9f72d8 (diff)
Remove some unnecessary debug logging.
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r--modules/protocol/unrealircd.cpp6
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);