summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-19 19:23:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-19 19:23:53 +0000
commitc61fac32bc7559e3d6f7534919f115266eee5917 (patch)
tree6984cd768398eb0f920e8c044a8613b5994e8753 /include
parent9130c31f74d583894b292d09784c8e899fface4d (diff)
Allow changing of an oper's host on oper up using <type:class> (give it a connect allow or deny line name) - implements bug #367
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/users.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index d59e540b4..8628e2c21 100644
--- a/include/users.h
+++ b/include/users.h
@@ -845,7 +845,7 @@ class CoreExport userrec : public connection
/** Call this method to find the matching <connect> for a user, and to check them against it.
*/
- void CheckClass();
+ void CheckClass(const std::string &explicit_class = "");
/** Use this method to fully connect a user.
* This will send the message of the day, check G/K/E lines, etc.
@@ -1056,9 +1056,10 @@ class CoreExport userrec : public connection
void PurgeEmptyChannels();
/** Get the connect class which matches this user's host or IP address
+ * @param explicit_name Set this string to tie the user to a specific class name
* @return A reference to this user's connect class
*/
- ConnectClass* GetClass();
+ ConnectClass* GetClass(const std::string &explicit_name = "");
/** Show the message of the day to this user
*/