diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 06:40:24 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-04 06:40:24 +0000 |
commit | b462814760cb7c0830072275acc97291a9fb905b (patch) | |
tree | 56cfe6caee408eb852f728cd8aaa2d18e4365228 /include/commands.h | |
parent | 2708eea5d13c249143b83fbaa8b552992f0ac8b6 (diff) |
Changed 'char *' fields in BotInfo to 'std::string', cleanup of bots.cpp, changed many other functions to use 'const std::string &' arguments as a chain reaction.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2733 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/commands.h b/include/commands.h index 408374cd2..5e40ad899 100644 --- a/include/commands.h +++ b/include/commands.h @@ -21,8 +21,8 @@ */ extern MDE Command *lookup_cmd(Command *list, char *name); -extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd); -extern MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd); +extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[], const char *cmd); +extern MDE void mod_run_cmd(const std::string &service, User *u, CommandHash *cmdTable[], const char *cmd); //extern MDE void do_help_limited(char *service, User * u, Command * c); /*************************************************************************/ |