From 4c6fb8032bf8a6310080069cc65c975087d93a76 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Mar 2006 12:00:57 +0000 Subject: Made extensive use of charlcat to cut down on strlcat usage git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 00f44c74a..048a5fae7 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -285,7 +285,7 @@ bool host_matches_everyone(std::string mask, userrec* user) for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++) { strlcpy(buffer,u->second->ident,MAXBUF); - strlcat(buffer,"@",MAXBUF); + charlcat(buffer,'@',MAXBUF); strlcat(buffer,u->second->host,MAXBUF); if (match(buffer,mask.c_str())) matches++; -- cgit v1.2.3