diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 23:59:18 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-11 23:59:18 +0000 |
commit | 4836d9548d8078fa53b854cc5510820922e8211b (patch) | |
tree | b1aef4653b8225d0acd694972d18cad663b5aca7 /src/core/cs_drop.c | |
parent | 394d3b9325e6498b7aca1ac12b5c76fa329f95ac (diff) |
Audit cs_ban, cs_clear, cs_drop.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2017 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r-- | src/core/cs_drop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index 84e72a7a8..6dfa016d9 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -36,7 +36,7 @@ class CommandCSDrop : public Command CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { - char *chan = strtok(NULL, " "); + const char *chan = params[0].c_str(); ChannelInfo *ci; int is_servadmin = is_services_admin(u); |