From 922d4ebf7a27a6577d6b4f91e0f42ccdfa989455 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 15:38:59 +0000 Subject: userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 7 ------- include/users.h | 7 ++++--- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 3b056223c..07e13eb20 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1499,13 +1499,6 @@ class Server : public Extensible * user must have both modes set to receive the message. */ virtual void SendToModeMask(const std::string &modes, int flags, const std::string &text); - - /** Forces a user nickchange. - * This command works similarly to SVSNICK, and can be used to implement Q-lines etc. - * If you specify an invalid nickname, the nick change will be dropped and the target user will receive - * the error numeric for it. - */ - virtual void ChangeUserNick(userrec* user, const std::string &nickname); /** Matches text against a glob pattern. * Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com diff --git a/include/users.h b/include/users.h index 320123e2d..bfee92f83 100644 --- a/include/users.h +++ b/include/users.h @@ -443,6 +443,10 @@ class userrec : public connection void Oper(const std::string &opertype); + void FullConnect(CullList* Goners); + userrec* UpdateNickHash(const char* New); + bool ForceNickChange(const char* newnick); + void UnOper(); /** Default destructor @@ -471,9 +475,6 @@ typedef std::map whowas_users; void MaintainWhoWas(time_t TIME); void AddClient(int socket, int port, bool iscached, insp_inaddr ip4); -void FullConnectUser(userrec* user, CullList* Goners); -userrec* ReHashNick(const char* Old, const char* New); -void force_nickchange(userrec* user,const char* newnick); /* Configuration callbacks */ bool InitTypes(const char* tag); -- cgit v1.2.3