From c61fac32bc7559e3d6f7534919f115266eee5917 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 19 Aug 2007 19:23:53 +0000 Subject: Allow changing of an oper's host on oper up using (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 --- include/users.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 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 */ -- cgit v1.2.3