From c5a46583800374344d8676eccd7061a15a5ac1ce Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 16 May 2013 01:56:06 +0200 Subject: Allow spaces (and more) in oper types The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv --- src/configreader.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index cd6122b25..943fa5a41 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -135,8 +135,6 @@ void ServerConfig::CrossCheckOperClassType() std::string name = tag->getString("name"); if (name.empty()) throw CoreException(" is missing from tag at " + tag->getTagLocation()); - if (!ServerInstance->IsNick(name, Limits.NickMax)) - throw CoreException(" is invalid (value '" + name + "')"); if (oper_blocks.find(" " + name) != oper_blocks.end()) throw CoreException("Duplicate type block with name " + name + " at " + tag->getTagLocation()); -- cgit v1.3.1-10-gc9f91