summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kick.cpp
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2013-05-15 12:33:47 -0700
committerAdam <adam@sigterm.info>2013-05-15 12:33:47 -0700
commite586aaab7c4f7b03514c83451d73b73f55dc6998 (patch)
tree18f4370778cc79d2f21a4308dafbb29a77cfa213 /src/commands/cmd_kick.cpp
parent23e8bba13c55d33ce89d505780da36c9589e300a (diff)
parentaccccc212cd4f08a3c5532b1ae7a17e76bac8718 (diff)
Merge pull request #531 from SaberUK/master+snprintf-removal
Replace some C-isms with C++-isms.
Diffstat (limited to 'src/commands/cmd_kick.cpp')
-rw-r--r--src/commands/cmd_kick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_kick.cpp b/src/commands/cmd_kick.cpp
index 3c5fb0052..87ee1da6d 100644
--- a/src/commands/cmd_kick.cpp
+++ b/src/commands/cmd_kick.cpp
@@ -77,7 +77,7 @@ CmdResult CommandKick::Handle (const std::vector<std::string>& parameters, User
reason.assign(user->nick, 0, ServerInstance->Config->Limits.MaxKick);
}
- c->KickUser(user, u, reason.c_str());
+ c->KickUser(user, u, reason);
return CMD_SUCCESS;
}