diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-15 16:40:37 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-15 16:40:37 +0000 |
commit | 5dbf63c2a3f8a702e06c95bbb0952f9b4ea34dad (patch) | |
tree | ca8ea1f45b13115839e67987e6da51dca010c3be /include | |
parent | af2b10e82cd3b9cda80ae29607da78e15974f155 (diff) |
Rather largeish change to class checking on connect to fix a few minor bits and bobs here and there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7029 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/users.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 752479014..c873111ad 100644 --- a/include/modules.h +++ b/include/modules.h @@ -75,7 +75,7 @@ enum MessageType { * ipv4 servers, so this value will be ten times as * high on ipv6 servers. */ -#define NATIVE_API_VERSION 11023 +#define NATIVE_API_VERSION 11024 #ifdef IPV6 #define API_VERSION (NATIVE_API_VERSION * 10) #else diff --git a/include/users.h b/include/users.h index 84bde46b9..e12079315 100644 --- a/include/users.h +++ b/include/users.h @@ -708,6 +708,10 @@ class userrec : public connection */ void Oper(const std::string &opertype); + /** Call this method to find the matching <connect> for a user, and to check them against it. + */ + void CheckClass(); + /** Use this method to fully connect a user. * This will send the message of the day, check G/K/E lines, etc. */ |