diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 23:59:58 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 23:59:58 +0000 |
commit | a512f7cdd7e5f9d2e408b77cc41b526a604d60f8 (patch) | |
tree | 7d6ede31dbbd34ff90304d742780f70f4bc0fb41 /src/core/cs_info.c | |
parent | 30b3d92d9479de4b550fad94131d5805139d89ed (diff) |
cs_help, cs_identify, cs_info, cs_invite audited.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2019 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_info.c')
-rw-r--r-- | src/core/cs_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_info.c b/src/core/cs_info.c index 0c3e4303d..3f2da5200 100644 --- a/src/core/cs_info.c +++ b/src/core/cs_info.c @@ -48,8 +48,8 @@ class CommandCSInfo : public Command CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { - char *chan = strtok(NULL, " "); - char *param = strtok(NULL, " "); + const char *chan = params[0].c_str(); + const char *param = params.size() > 1 ? params[1].c_str() : NULL; ChannelInfo *ci; char buf[BUFSIZE]; struct tm *tm; |