diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 12:00:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 12:00:57 +0000 |
commit | 4c6fb8032bf8a6310080069cc65c975087d93a76 (patch) | |
tree | fb5316853d6f962c13c96221f3336ea1da8b0b3a /src/commands.cpp | |
parent | 99f6009b2d0d1bc4b7ddc09f164fc19b78e6b431 (diff) |
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
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |