summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
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