summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 15:05:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 15:05:49 +0000
commit8d99003c221b7d6dcc04d0fc58629c243b48dbf0 (patch)
tree1412b12337da066d69cea9529dfefef7234c4062 /include
parent8c4528880ab1dfe6307b03d5976e23e1a553a663 (diff)
AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do more, too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/users.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/users.h b/include/users.h
index 4652b2cb9..320123e2d 100644
--- a/include/users.h
+++ b/include/users.h
@@ -441,6 +441,10 @@ class userrec : public connection
void AddToWhoWas();
+ void Oper(const std::string &opertype);
+
+ void UnOper();
+
/** Default destructor
*/
virtual ~userrec();
@@ -465,9 +469,6 @@ class WhoWasGroup : public classbase
typedef std::deque<WhoWasGroup*> whowas_set;
typedef std::map<irc::string,whowas_set*> whowas_users;
-void AddOper(userrec* user);
-void DeleteOper(userrec* user);
-//void kill_link(userrec *user,const char* r);
void MaintainWhoWas(time_t TIME);
void AddClient(int socket, int port, bool iscached, insp_inaddr ip4);
void FullConnectUser(userrec* user, CullList* Goners);