From e8ad4c8cb0d34aaeafd8ef5223b1dccdc752cc51 Mon Sep 17 00:00:00 2001 From: om Date: Mon, 3 Apr 2006 10:22:03 +0000 Subject: split_clist will never send lines over 512 chars, also should be faster git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3804 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/commands.h b/include/commands.h index 1981b1688..ff6365d78 100644 --- a/include/commands.h +++ b/include/commands.h @@ -35,7 +35,7 @@ bool host_matches_everyone(const std::string &mask, userrec* user); bool ip_matches_everyone(const std::string &ip, userrec* user); bool nick_matches_everyone(const std::string &nick, userrec* user); int operstrcmp(char* data,char* input); -void split_chlist(userrec* user, userrec* dest, std::string &cl); +void split_chlist(userrec* user, userrec* dest, const std::string &cl); /* XXX Serious WTFness XXX * -- cgit v1.2.3