From 5394adf41ff609f7f97af529774fcb616fe072b2 Mon Sep 17 00:00:00 2001 From: linuxdaemon Date: Wed, 23 Jan 2019 02:40:25 -0600 Subject: Fix away broadcast logic (#1561) --- src/modules/m_spanningtree/away.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree/away.cpp b/src/modules/m_spanningtree/away.cpp index 13972589b..62300580f 100644 --- a/src/modules/m_spanningtree/away.cpp +++ b/src/modules/m_spanningtree/away.cpp @@ -47,6 +47,6 @@ CmdResult CommandAway::HandleRemote(::RemoteUser* u, Params& params) CommandAway::Builder::Builder(User* user) : CmdBuilder(user, "AWAY") { - if (user->awaymsg.empty()) + if (!user->awaymsg.empty()) push_int(user->awaytime).push_last(user->awaymsg); } -- cgit v1.2.3