summary refs log tree commit diff stats
path: root/src/common/plugin.c
diff options
context:
space:
mode:
authorTingPing <TingPing@users.noreply.github.com>2013-10-15 18:30:37 -0400
committerTingPing <TingPing@users.noreply.github.com>2013-10-15 18:30:37 -0400
commit2e08b3a2dafa743c0d64e110a1f53aaf5ae6421c (patch)
tree6f3129f2d128b963e1b41b6c8d6e841579ffb5f4 /src/common/plugin.c
parent57d168e56a21296a0b499caca5012962050cd45a (diff)
Add remaining chanopts to plugin api
In flags of get_list('channels')
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r--src/common/plugin.c16
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;