diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-04 11:31:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-04 11:31:29 +0000 |
commit | e53d30bc6d4c3b002f08569b68affa540104d5cf (patch) | |
tree | 5e7082d9dbfc1b5b0501baab797b212e7e46442a /include | |
parent | 3119f46c8ad6fa1f8cbbd6aa2fe619acdb5732b7 (diff) |
Merge peaveys patch, tracker #162
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5642 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/users.h b/include/users.h index 003123b0b..018336e77 100644 --- a/include/users.h +++ b/include/users.h @@ -515,11 +515,17 @@ class userrec : public connection */ char* MakeWildHost(); - /** Creates a host. - * Takes a buffer to use and fills the given buffer with the host in the format nick!user@host - * @param Buffer to fill with host information + /** Creates a usermask with real host. + * Takes a buffer to use and fills the given buffer with the hostmask in the format user@host + * @return the usermask in the format user@host */ - void MakeHost(char* nhost); + char* MakeHost(); + + /** Creates a usermask with real ip. + * Takes a buffer to use and fills the given buffer with the ipmask in the format user@ip + * @return the usermask in the format user@ip + */ + char* MakeHostIP(); /** Shuts down and closes the user's socket * This will not cause the user to be deleted. Use InspIRCd::QuitUser for this, |