diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 4 | ||||
-rw-r--r-- | include/users.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index fa8f1e886..34ad92cb3 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -115,8 +115,8 @@ class InspIRCd /* prototypes */ void force_nickchange(userrec* user,const char* newnick); -void call_handler(const char* commandname,char **parameters, int pcnt, userrec *user); -bool is_valid_cmd(const char* commandname, int pcnt, userrec * user); +void call_handler(std::string &commandname,char **parameters, int pcnt, userrec *user); +bool is_valid_cmd(std::string &commandname, int pcnt, userrec * user); int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start, int end, int joins); userrec* ReHashNick(char* Old, char* New); /* userrec optimization stuff */ diff --git a/include/users.h b/include/users.h index 9d0dabe74..ee15f4845 100644 --- a/include/users.h +++ b/include/users.h @@ -36,6 +36,8 @@ #define CC_ALLOW 0 #define CC_DENY 1 +template<typename T> inline string ConvToStr(const T &in); + /** Holds a channel name to which a user has been invited. */ class Invited : public classbase |