1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 00:56:37 +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
+2 -2
View File
@@ -20,7 +20,7 @@ class CommandCSSet : public Command
private:
CommandReturn DoSetFounder(User * u, ChannelInfo * ci, const ci::string &param)
{
NickAlias *na = findnick(param.c_str());
NickAlias *na = findnick(param);
NickCore *nc, *nc0 = ci->founder;
if (!na)
@@ -63,7 +63,7 @@ class CommandCSSet : public Command
if (!param.empty())
{
na = findnick(param.c_str());
na = findnick(param);
if (!na)
{