From b19a3af4db6fefdf3d94963163eb00e7133c8046 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Oct 2012 02:29:31 -0400 Subject: Add networkinfo:chanlen config directive --- modules/protocol/unreal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol') 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 -- cgit