From af8c5c23c996418c768bbba4c57dbc7a670b099e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 10 Mar 2006 12:02:29 +0000 Subject: const references git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3624 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/commands.h b/include/commands.h index 0141b9eb2..1981b1688 100644 --- a/include/commands.h +++ b/include/commands.h @@ -31,9 +31,9 @@ bool is_uline(const char* server); long duration(const char* str); void do_whois(userrec* user, userrec* dest,unsigned long signon, unsigned long idle, char* nick); -bool host_matches_everyone(std::string mask, userrec* user); -bool ip_matches_everyone(std::string ip, userrec* user); -bool nick_matches_everyone(std::string nick, userrec* user); +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); -- cgit v1.2.3