summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-15 16:40:37 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-15 16:40:37 +0000
commit5dbf63c2a3f8a702e06c95bbb0952f9b4ea34dad (patch)
treeca8ea1f45b13115839e67987e6da51dca010c3be /include
parentaf2b10e82cd3b9cda80ae29607da78e15974f155 (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.h2
-rw-r--r--include/users.h4
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.
*/