plugin: Add chanmodes to channels list

This commit is contained in:
Patrick Griffis 2016-09-03 15:47:06 -04:00
parent 737f87fa16
commit d1bd441a9a
1 changed files with 3 additions and 1 deletions

View File

@ -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 */