1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 08:13:12 +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
+2 -2
View File
@@ -29,9 +29,9 @@ class CommandNSIdentify : public Command
NickRequest *nr;
int res;
if (!(na = findnick(u->nick.c_str())))
if (!(na = findnick(u->nick)))
{
if ((nr = findrequestnick(u->nick.c_str())))
if ((nr = findrequestnick(u->nick)))
notice_lang(Config.s_NickServ, u, NICK_IS_PREREG);
else
notice_lang(Config.s_NickServ, u, NICK_NOT_REGISTERED);