diff options
| author | Adam <Adam@anope.org> | 2011-03-14 13:52:26 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-03-14 13:52:26 -0400 |
| commit | ed73d7675152ccc66f20daedca8586a8de254a84 (patch) | |
| tree | 18f7a1a53a717f24d061550c6670ca6f0ed54f9f /include/account.h | |
| parent | 4fe49af8401b956249d924b89b3e69bce5fb6744 (diff) | |
Rewrote some of the opertype system, added os_login
Diffstat (limited to 'include/account.h')
| -rw-r--r-- | include/account.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/account.h b/include/account.h index 635606f62..01ec082dd 100644 --- a/include/account.h +++ b/include/account.h @@ -156,29 +156,17 @@ class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag, NI_END MemoInfo memos; uint16 channelcount; /* Number of channels currently registered */ - OperType *ot; + Oper *o; /* Unsaved data */ time_t lastmail; /* Last time this nick record got a mail */ std::list<NickAlias *> aliases; /* List of aliases */ - /** Check whether this opertype has access to run the given command string. - * @param cmdstr The string to check, e.g. botserv/set/private. - * @return True if this opertype may run the specified command, false otherwise. - */ - virtual bool HasCommand(const Anope::string &cmdstr) const; - /** Checks whether this account is a services oper or not. * @return True if this account is a services oper, false otherwise. */ virtual bool IsServicesOper() const; - /** Check whether this opertype has access to the given special permission. - * @param privstr The priv to check for, e.g. users/auspex. - * @return True if this opertype has the specified priv, false otherwise. - */ - virtual bool HasPriv(const Anope::string &privstr) const; - /** Add an entry to the nick's access list * * @param entry The nick!ident@host entry to add to the access list |
