From 99f6009b2d0d1bc4b7ddc09f164fc19b78e6b431 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Mar 2006 11:45:38 +0000 Subject: Added charlcat which appends a single char to a char* string (range checked) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3416 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/helperfuncs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/helperfuncs.h b/include/helperfuncs.h index c5939f8ba..933aeaca1 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -87,4 +87,6 @@ std::string GetFullProgDir(char** argv, int argc); int InsertMode(std::string &output, const char* modes, unsigned short section); bool IsValidChannelName(const char *); +inline int charlcat(char* x,char y,int z); + #endif -- cgit v1.2.3