summaryrefslogtreecommitdiff
path: root/src/core/cs_forbid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_forbid.cpp')
-rw-r--r--src/core/cs_forbid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_forbid.cpp b/src/core/cs_forbid.cpp
index 141865bf7..ad9881782 100644
--- a/src/core/cs_forbid.cpp
+++ b/src/core/cs_forbid.cpp
@@ -64,7 +64,7 @@ class CommandCSForbid : public Command
if (reason)
ci->forbidreason = sstrdup(reason);
- if ((c = findchan(ci->name.c_str())))
+ if ((c = findchan(ci->name)))
{
/* Before banning everyone, it might be prudent to clear +e and +I lists..
* to prevent ppl from rejoining.. ~ Viper */