summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-05 15:05:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-05 15:05:36 +0000
commit488ea09da27c89bb486e9de25d506b357631e3df (patch)
tree1e17dbfcc54eb9cd9a96b3c2f14ce204a7044d7a /src
parentada79c95bdfaa00dfec752403769d6e3be3aaad4 (diff)
We have two perfectly good macros, use them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8835 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp4
1 files 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);