summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-01 02:29:31 -0400
committerAdam <Adam@anope.org>2012-10-01 02:29:31 -0400
commitb19a3af4db6fefdf3d94963163eb00e7133c8046 (patch)
tree75c8b43d4480ba285940eb218fcd3231f1bcef97 /modules/protocol/unreal.cpp
parent89428a9d1032e3c2a6e397629a32862b3e58d708 (diff)
Add networkinfo:chanlen config directive
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp4
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