diff options
author | Adam <Adam@anope.org> | 2017-05-29 12:49:22 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-05-29 13:11:16 -0400 |
commit | 3f143633541a5361bf5b02b0d69b65447aea7b79 (patch) | |
tree | 3a33bd044bc8936150dcab38f355f3c3726b05e5 /include | |
parent | e36d24a6c500b5ad921041fcb905f684c09d71e9 (diff) |
Remove recognized status and secure
Also remove /ns status, which is now almost useless with no recognized
status, and /ns access.
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/chanserv/channel.h | 3 | ||||
-rw-r--r-- | include/modules/nickserv/access.h | 34 | ||||
-rw-r--r-- | include/modules/nickserv/account.h | 11 | ||||
-rw-r--r-- | include/users.h | 8 |
4 files changed, 0 insertions, 56 deletions
diff --git a/include/modules/chanserv/channel.h b/include/modules/chanserv/channel.h index 92f9099d6..7c114eea0 100644 --- a/include/modules/chanserv/channel.h +++ b/include/modules/chanserv/channel.h @@ -86,9 +86,6 @@ class CoreExport Channel : public Serialize::Object virtual bool IsRestricted() anope_abstract; virtual void SetRestricted(bool) anope_abstract; - virtual bool IsSecure() anope_abstract; - virtual void SetSecure(bool) anope_abstract; - virtual bool IsSecureOps() anope_abstract; virtual void SetSecureOps(bool) anope_abstract; diff --git a/include/modules/nickserv/access.h b/include/modules/nickserv/access.h deleted file mode 100644 index 800014b9b..000000000 --- a/include/modules/nickserv/access.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Anope IRC Services - * - * Copyright (C) 2014-2017 Anope Team <team@anope.org> - * - * This file is part of Anope. Anope is free software; you can - * redistribute it and/or modify it under the terms of the GNU - * General Public License as published by the Free Software - * Foundation, version 2. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see see <http://www.gnu.org/licenses/>. - */ - -class NickAccess : public Serialize::Object -{ - public: - static constexpr const char *const NAME = "nsaccess"; - - using Serialize::Object::Object; - - virtual NickServ::Account *GetAccount() anope_abstract; - virtual void SetAccount(NickServ::Account *) anope_abstract; - - virtual Anope::string GetMask() anope_abstract; - virtual void SetMask(const Anope::string &) anope_abstract; -}; - - diff --git a/include/modules/nickserv/account.h b/include/modules/nickserv/account.h index e40ae75df..0d99e9ad8 100644 --- a/include/modules/nickserv/account.h +++ b/include/modules/nickserv/account.h @@ -77,9 +77,6 @@ class CoreExport Account : public Serialize::Object virtual bool IsMsg() anope_abstract; virtual void SetMsg(bool) anope_abstract; - virtual bool IsSecure() anope_abstract; - virtual void SetSecure(bool) anope_abstract; - virtual bool IsMemoSignon() anope_abstract; virtual void SetMemoSignon(bool) anope_abstract; @@ -106,14 +103,6 @@ class CoreExport Account : public Serialize::Object */ virtual void SetDisplay(Nick *na) anope_abstract; - /** Is the given user on this accounts access list? - * - * @param u The user - * - * @return true if the user is on the access list - */ - virtual bool IsOnAccess(User *u) anope_abstract; - virtual MemoServ::MemoInfo *GetMemos() anope_abstract; virtual unsigned int GetChannelCount() anope_abstract; diff --git a/include/users.h b/include/users.h index f3847af47..6528977a0 100644 --- a/include/users.h +++ b/include/users.h @@ -55,8 +55,6 @@ class CoreExport User : public virtual Base, public virtual Extensible, public C Anope::string vident; Anope::string ident; Anope::string uid; - /* If the user is on the access list of the nick they're on */ - bool on_access; /* Map of user modes and the params this user has (if any) */ ModeList modes; /* NickServ::Account account the user is currently loggged in as, if they are logged in */ @@ -242,12 +240,6 @@ class CoreExport User : public virtual Base, public virtual Extensible, public C */ bool IsIdentified(bool check_nick = false) const; - /** Check if the user is recognized for their nick (on the nicks access list) - * @param check_secure Only returns true if the user has secure off - * @return true or false - */ - bool IsRecognized(bool check_secure = true) const; - /** Check if the user is a services oper * @return true if they are an oper */ |