* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2009 InspIRCd Development Team
* See: http://www.inspircd.org/wiki/index.php/Credits
*
* This program is free but copyrighted software; see
return 0;
std::string *account;
- user->GetExt("accountname", account);
- bool is_registered = !account->empty();
+ bool is_registered = user->GetExt("accountname", account);
+ is_registered = is_registered && !account->empty();
if ((ServerInstance->ULine(user->nick.c_str())) || (ServerInstance->ULine(user->server)))
{
return 0;
std::string *account;
- user->GetExt("accountname", account);
- bool is_registered = !account->empty();
+ bool is_registered = user->GetExt("accountname", account);
+ is_registered = is_registered && !account->empty();
if (chan)
{