diff options
| author | Adam <Adam@anope.org> | 2014-05-27 12:49:22 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-05-27 12:55:03 -0400 |
| commit | 37b3ed8ef39bb0e3e4f730f354a646b4cdc36e8e (patch) | |
| tree | 25cc345ff305b3d7caacf7d61006e35215256e4c /src | |
| parent | a6af422184034bb62421bdf4adce7c9eaede8aee (diff) | |
Do not normalize extban masks
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocol.cpp | 2 |
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(); } |
