diff options
author | Adam <Adam@Anope.org> | 2010-05-26 02:53:08 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:04:08 -0400 |
commit | 1394c96173cec02d148dfece563bb186cf2f33b6 (patch) | |
tree | 19afb8a2fde62477701c1d21510bc3c6fe4fd7ae /src/core/ns_access.cpp | |
parent | f0a44ba89471e006ab10e398e9635adbc73eb674 (diff) |
Removed a lot of unnecessary .c_str() calls in the find* functions
Diffstat (limited to 'src/core/ns_access.cpp')
-rw-r--r-- | src/core/ns_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_access.cpp b/src/core/ns_access.cpp index e64bc1b16..aa96c45b1 100644 --- a/src/core/ns_access.cpp +++ b/src/core/ns_access.cpp @@ -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, '@')) |