Add remaining chanopts to plugin api
In flags of get_list('channels')
This commit is contained in:
parent
57d168e56a
commit
2e08b3a2da
@ -1601,13 +1601,25 @@ hexchat_list_int (hexchat_plugin *ph, hexchat_list *xlist, const char *name)
|
|||||||
case 0xd1b: /* id */
|
case 0xd1b: /* id */
|
||||||
return ((struct session *)data)->server->id;
|
return ((struct session *)data)->server->id;
|
||||||
case 0x5cfee87: /* flags */
|
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 <<= 1;
|
||||||
tmp |= ((struct session *)data)->alert_tray; /* 9 */
|
tmp |= ((struct session *)data)->alert_tray; /* 9 */
|
||||||
tmp <<= 1;
|
tmp <<= 1;
|
||||||
tmp |= ((struct session *)data)->alert_beep; /* 8 */
|
tmp |= ((struct session *)data)->alert_beep; /* 8 */
|
||||||
tmp <<= 1;
|
tmp <<= 1;
|
||||||
/*tmp |= ((struct session *)data)->color_paste;*/ /* 7 */
|
/* used if text_hidejoinpart is unset */ /* 7 */
|
||||||
tmp <<= 1;
|
tmp <<= 1;
|
||||||
tmp |= ((struct session *)data)->text_hidejoinpart; /* 6 */
|
tmp |= ((struct session *)data)->text_hidejoinpart; /* 6 */
|
||||||
tmp <<= 1;
|
tmp <<= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user