mirror of
https://github.com/anope/anope.git
synced 2026-07-02 21:03:13 +02:00
Removed a lot of unnecessary .c_str() calls in the find* functions
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ int validate_user(User * u)
|
||||
NickAlias *na;
|
||||
NickRequest *nr;
|
||||
|
||||
if ((nr = findrequestnick(u->nick.c_str())))
|
||||
if ((nr = findrequestnick(u->nick)))
|
||||
{
|
||||
notice_lang(Config.s_NickServ, u, NICK_IS_PREREG);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user