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:
@@ -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, '@'))
|
||||
|
||||
Reference in New Issue
Block a user