diff options
author | Adam <Adam@anope.org> | 2012-10-01 02:29:31 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-01 02:29:31 -0400 |
commit | b19a3af4db6fefdf3d94963163eb00e7133c8046 (patch) | |
tree | 75c8b43d4480ba285940eb218fcd3231f1bcef97 /modules/protocol/unreal.cpp | |
parent | 89428a9d1032e3c2a6e397629a32862b3e58d708 (diff) |
Add networkinfo:chanlen config directive
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r-- | modules/protocol/unreal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 59dd9ddd6..d3b94b26c 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -341,10 +341,10 @@ class UnrealIRCdProto : public IRCDProto bool IsChannelValid(const Anope::string &chan) anope_override { - if (chan.find(':') != Anope::string::npos || chan[0] != '#') + if (chan.find(':') != Anope::string::npos) return false; - return true; + return IRCDProto::IsChannelValid(chan); } void SendLogin(User *u) anope_override |