diff options
-rw-r--r-- | src/common/plugin.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index ff1c740d..228983f3 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -1601,13 +1601,25 @@ hexchat_list_int (hexchat_plugin *ph, hexchat_list *xlist, const char *name) case 0xd1b: /* id */ return ((struct session *)data)->server->id; case 0x5cfee87: /* flags */ - tmp = ((struct session *)data)->alert_taskbar; /* bit 10 */ + /* used if text_strip is unset */ /* 16 */ + tmp <<= 1; + tmp = ((struct session *)data)->text_strip; /* 15 */ + tmp <<= 1; + /* used if text_scrollback is unset */ /* 14 */ + tmp <<= 1; + tmp |= ((struct session *)data)->text_scrollback; /* 13 */ + tmp <<= 1; + /* used if text_logging is unset */ /* 12 */ + tmp <<= 1; + tmp |= ((struct session *)data)->text_logging; /* 11 */ + tmp <<= 1; + tmp |= ((struct session *)data)->alert_taskbar; /* 10 */ tmp <<= 1; tmp |= ((struct session *)data)->alert_tray; /* 9 */ tmp <<= 1; tmp |= ((struct session *)data)->alert_beep; /* 8 */ tmp <<= 1; - /*tmp |= ((struct session *)data)->color_paste;*/ /* 7 */ + /* used if text_hidejoinpart is unset */ /* 7 */ tmp <<= 1; tmp |= ((struct session *)data)->text_hidejoinpart; /* 6 */ tmp <<= 1; |