diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-09-03 15:47:06 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-09-03 15:47:37 -0400 |
commit | d1bd441a9a4dc8ca6f4c571c1c26f586cb15ca84 (patch) | |
tree | 748a83a2ff18c16673c2e59a70a73b870e327d23 /src | |
parent | 737f87fa161e1393a8dd47aa61a782a37f22ca7d (diff) |
plugin: Add chanmodes to channels list
Diffstat (limited to 'src')
-rw-r--r-- | src/common/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index 4b45619d..07012736 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -1340,7 +1340,7 @@ hexchat_list_fields (hexchat_plugin *ph, const char *name) }; static const char * const channels_fields[] = { - "schannel", "schannelkey", "schantypes", "pcontext", "iflags", "iid", "ilag", "imaxmodes", + "schannel", "schannelkey", "schanmodes", "schantypes", "pcontext", "iflags", "iid", "ilag", "imaxmodes", "snetwork", "snickmodes", "snickprefixes", "iqueue", "sserver", "itype", "iusers", NULL }; @@ -1437,6 +1437,8 @@ hexchat_list_str (hexchat_plugin *ph, hexchat_list *xlist, const char *name) return ((session *)data)->channel; case 0x8cea5e7c: /* channelkey */ return ((session *)data)->channelkey; + case 0x5716ab1e: /* chanmodes */ + return ((session*)data)->server->chanmodes; case 0x577e0867: /* chantypes */ return ((session *)data)->server->chantypes; case 0x38b735af: /* context */ |