summaryrefslogtreecommitdiff
path: root/src/core/ms_del.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ms_del.cpp')
-rw-r--r--src/core/ms_del.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ms_del.cpp b/src/core/ms_del.cpp
index 700df16b4..7fd5138b5 100644
--- a/src/core/ms_del.cpp
+++ b/src/core/ms_del.cpp
@@ -62,7 +62,7 @@ class CommandMSDel : public Command
chan = numstr;
numstr = params.size() > 1 ? params[1] : "";
- if (!(ci = cs_findchan(chan.c_str())))
+ if (!(ci = cs_findchan(chan)))
{
notice_lang(Config.s_MemoServ, u, CHAN_X_NOT_REGISTERED, chan.c_str());
return MOD_CONT;