summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-11-12 18:53:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-11-12 18:53:07 +0100
commitc311090722f110f508fa4ccfe669152ba87a80df (patch)
tree472732ea7c7996a65e5ecabf64a40cb6b0252c05 /src/plugins/irc
parent525b8fb87a7fa7bebce2863f159318e3abbf4504 (diff)
downloadweechat-c311090722f110f508fa4ccfe669152ba87a80df.zip
Fix bug with flags on irc raw buffer
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c
index ba7401d36..f32d5058b 100644
--- a/src/plugins/irc/irc-raw.c
+++ b/src/plugins/irc/irc-raw.c
@@ -269,7 +269,7 @@ irc_raw_message_add (struct t_irc_server *server, int flags,
strcpy (prefix_arrow, IRC_RAW_PREFIX_SEND_MODIFIED);
break;
default:
- if (flags && IRC_RAW_FLAG_RECV)
+ if (flags & IRC_RAW_FLAG_RECV)
strcpy (prefix_arrow, IRC_RAW_PREFIX_RECV);
else
strcpy (prefix_arrow, IRC_RAW_PREFIX_SEND);