mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
We have two perfectly good macros, use them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8835 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ada79c95bd
commit
488ea09da2
@ -233,12 +233,12 @@ void TreeSocket::SendUsers(TreeServer* Current)
|
||||
u->second->ident, u->second->FormatModes(), u->second->GetIPString(),
|
||||
(unsigned long)u->second->signon, u->second->fullname);
|
||||
this->WriteLine(data);
|
||||
if (*u->second->oper)
|
||||
if (IS_OPER(u->second))
|
||||
{
|
||||
snprintf(data,MAXBUF,":%s OPERTYPE %s", u->second->uuid, u->second->oper);
|
||||
this->WriteLine(data);
|
||||
}
|
||||
if (*u->second->awaymsg)
|
||||
if (IS_AWAY(u->second))
|
||||
{
|
||||
snprintf(data,MAXBUF,":%s AWAY :%s", u->second->uuid, u->second->awaymsg);
|
||||
this->WriteLine(data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user