summaryrefslogtreecommitdiff
path: root/src/core/cs_unban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_unban.cpp')
-rw-r--r--src/core/cs_unban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_unban.cpp b/src/core/cs_unban.cpp
index 0ae2077ed..9dd4e74e3 100644
--- a/src/core/cs_unban.cpp
+++ b/src/core/cs_unban.cpp
@@ -41,7 +41,7 @@ class CommandCSUnban : public Command
u2 = u;
if (params.size() > 1)
- u2 = finduser(params[1].c_str());
+ u2 = finduser(params[1]);
if (!u2)
{