diff options
-rw-r--r-- | src/modules/m_spanningtree/netburst.cpp | 4 |
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); |