From 3f143633541a5361bf5b02b0d69b65447aea7b79 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 29 May 2017 12:49:22 -0400 Subject: Remove recognized status and secure Also remove /ns status, which is now almost useless with no recognized status, and /ns access. --- modules/chanserv/main/channel.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'modules/chanserv/main/channel.cpp') diff --git a/modules/chanserv/main/channel.cpp b/modules/chanserv/main/channel.cpp index b9e519427..5f7c71c8c 100644 --- a/modules/chanserv/main/channel.cpp +++ b/modules/chanserv/main/channel.cpp @@ -247,16 +247,6 @@ void ChannelImpl::SetRestricted(bool restricted) Set(&ChannelType::restricted, restricted); } -bool ChannelImpl::IsSecure() -{ - return Get(&ChannelType::secure); -} - -void ChannelImpl::SetSecure(bool secure) -{ - Set(&ChannelType::secure, secure); -} - bool ChannelImpl::IsSecureOps() { return Get(&ChannelType::secureops); @@ -370,12 +360,6 @@ ChanServ::AccessGroup ChannelImpl::AccessFor(const User *u, bool updateLastUsed) return group; NickServ::Account *nc = u->Account(); - if (nc == NULL && !this->IsSecure() && u->IsRecognized()) - { - NickServ::Nick *na = NickServ::FindNick(u->nick); - if (na != NULL) - nc = na->GetAccount(); - } group.super_admin = u->super_admin; group.founder = IsFounder(u); -- cgit