1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 05:46:38 +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
@@ -100,7 +100,7 @@ void mod_run_cmd(BotInfo *bi, User *u, const ci::string &cmd)
{
if (ircdproto->IsChannelValid(params[0].c_str()))
{
if ((ci = cs_findchan(params[0].c_str())))
if ((ci = cs_findchan(params[0])))
{
if ((ci->HasFlag(CI_FORBIDDEN)) && (!c->HasFlag(CFLAG_ALLOW_FORBIDDEN)))
{