summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 15:38:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 15:38:59 +0000
commit922d4ebf7a27a6577d6b4f91e0f42ccdfa989455 (patch)
treede1a76fa9c7934f9dab301986b63a3cceea3b073 /include
parent8d99003c221b7d6dcc04d0fc58629c243b48dbf0 (diff)
userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h7
-rw-r--r--include/users.h7
2 files changed, 4 insertions, 10 deletions
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<irc::string,whowas_set*> 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);