1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 21:53:13 +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
@@ -124,7 +124,7 @@ class CommandNSAccess : public Command
const char *mask = params.size() > 1 ? params[1].c_str() : NULL;
NickAlias *na;
if (cmd == "LIST" && u->Account()->IsServicesOper() && mask && (na = findnick(params[1].c_str())))
if (cmd == "LIST" && u->Account()->IsServicesOper() && mask && (na = findnick(params[1])))
return this->DoServAdminList(u, params, na->nc);
if (mask && !strchr(mask, '@'))