aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2017-07-04 20:15:16 +0200
committerMarius Halden <marius.h@lden.org>2017-07-04 20:15:16 +0200
commit9bc82d46e26ecd4947c3ee840d3e1e2dcc655640 (patch)
tree4dfa842150c64fcbea6293124f0c3f648e80ee0c /irc_user.c
parent06a545c5a849d1b1b99839539c9f0e302b594255 (diff)
Fix comiler warning
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_user.c b/irc_user.c
index 72e401d0..c6daffc7 100644
--- a/irc_user.c
+++ b/irc_user.c
@@ -198,7 +198,7 @@ const char *irc_user_get_away(irc_user_t *iu)
if (iu == irc->user) {
return set_getstr(&irc->b->set, "away");
} else if (bu) {
- if (!bu->flags & BEE_USER_ONLINE) {
+ if (!(bu->flags & BEE_USER_ONLINE)) {
return "Offline";
} else if (bu->flags & BEE_USER_AWAY) {
if (bu->status_msg) {