summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 14:12:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 14:12:13 +0000
commit818ead2412e2f9a3661f99d165e850ff0f49b092 (patch)
treeb8881ce90336ebffdf6a878cdba53bca7b5da5fb /include/inspircd.h
parent704ae49baa572ecc0779be85a23c55ae2db7732e (diff)
Tidied up call_handler to use strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2476 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h4
1 files changed, 2 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 */