From 7d7250484c352c13830e63ae41ee8faae40a9bd5 Mon Sep 17 00:00:00 2001
From: brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Date: Sun, 25 May 2008 17:30:43 +0000
Subject: First phase of conversion to dynamic limits on all the lengths,
 configured via the <limits> tag (the tag isnt there yet, these all just run
 on defaults in the class constructor)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
---
 include/inspircd.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'include/inspircd.h')

diff --git a/include/inspircd.h b/include/inspircd.h
index e729a0b2a..9d7c8e6e1 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -230,11 +230,11 @@ typedef std::vector<std::pair<std::string, long> > FailedPortList;
 class InspIRCd;
 
 DEFINE_HANDLER1(ProcessUserHandler, void, User*);
-DEFINE_HANDLER1(IsNickHandler, bool, const char*);
+DEFINE_HANDLER2(IsNickHandler, bool, const char*, size_t);
 DEFINE_HANDLER1(IsIdentHandler, bool, const char*);
 DEFINE_HANDLER1(FindDescriptorHandler, User*, int);
 DEFINE_HANDLER1(FloodQuitUserHandler, void, User*);
-DEFINE_HANDLER1(IsChannelHandler, bool, const char*);
+DEFINE_HANDLER2(IsChannelHandler, bool, const char*, size_t);
 DEFINE_HANDLER1(IsSIDHandler, bool, const std::string&);
 DEFINE_HANDLER1(RehashHandler, void, const std::string&);
 
@@ -585,7 +585,7 @@ class CoreExport InspIRCd : public classbase
 	 * @param chname A channel name to verify
 	 * @return True if the name is valid
 	 */
-	caller1<bool, const char*> IsChannel;
+	caller2<bool, const char*, size_t> IsChannel;
 
 	/** Return true if str looks like a server ID
 	 * @param string to check against
@@ -633,7 +633,7 @@ class CoreExport InspIRCd : public classbase
 	 * @param n A nickname to verify
 	 * @return True if the nick is valid
 	 */
-	caller1<bool, const char*> IsNick;
+	caller2<bool, const char*, size_t> IsNick;
 
 	/** Return true if an ident is valid
 	 * @param An ident to verify
-- 
cgit v1.2.3