summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-27 12:49:22 -0400
committerAdam <Adam@anope.org>2014-05-27 12:55:03 -0400
commit37b3ed8ef39bb0e3e4f730f354a646b4cdc36e8e (patch)
tree25cc345ff305b3d7caacf7d61006e35215256e4c /src/protocol.cpp
parenta6af422184034bb62421bdf4adce7c9eaede8aee (diff)
Do not normalize extban masks
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 17b43e292..692ce005a 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -436,6 +436,8 @@ unsigned IRCDProto::GetMaxListFor(Channel *c)
Anope::string IRCDProto::NormalizeMask(const Anope::string &mask)
{
+ if (IsExtbanValid(mask))
+ return mask;
return Entry("", mask).GetNUHMask();
}