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