summaryrefslogtreecommitdiff
path: root/src/core/cs_invite.cpp
diff options
context:
space:
mode:
authorAdam <Adam@Anope.org>2010-05-26 02:53:08 -0500
committerAdam <Adam@anope.org>2010-06-18 21:04:08 -0400
commit1394c96173cec02d148dfece563bb186cf2f33b6 (patch)
tree19afb8a2fde62477701c1d21510bc3c6fe4fd7ae /src/core/cs_invite.cpp
parentf0a44ba89471e006ab10e398e9635adbc73eb674 (diff)
Removed a lot of unnecessary .c_str() calls in the find* functions
Diffstat (limited to 'src/core/cs_invite.cpp')
-rw-r--r--src/core/cs_invite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_invite.cpp b/src/core/cs_invite.cpp
index 2abcf82bb..bf243080f 100644
--- a/src/core/cs_invite.cpp
+++ b/src/core/cs_invite.cpp
@@ -46,7 +46,7 @@ class CommandCSInvite : public Command
u2 = u;
else
{
- if (!(u2 = finduser(params[1].c_str())))
+ if (!(u2 = finduser(params[1])))
{
notice_lang(Config.s_ChanServ, u, NICK_X_NOT_IN_USE, params[1].c_str());
return MOD_CONT;