1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 19:23:14 +02:00

Removed a lot of unnecessary .c_str() calls in the find* functions

This commit is contained in:
Adam
2010-05-26 02:53:08 -05:00
committed by Adam
parent f0a44ba894
commit 1394c96173
26 changed files with 53 additions and 55 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ class CommandMSList : public Command
chan = param;
param = 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;