From 488ea09da27c89bb486e9de25d506b357631e3df Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 5 Feb 2008 15:05:36 +0000 Subject: We have two perfectly good macros, use them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8835 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/netburst.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index e32f9f3ff..002845af3 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -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); -- cgit v1.2.3