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:
+2
-2
@@ -20,7 +20,7 @@ class CommandCSSet : public Command
|
||||
private:
|
||||
CommandReturn DoSetFounder(User * u, ChannelInfo * ci, const ci::string ¶m)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user