mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-28 20:22:15 -05:00
Add channelkey to channel lists
This commit is contained in:
parent
bb1062ae2a
commit
68153812f7
@ -1381,7 +1381,7 @@ hexchat_list_fields (hexchat_plugin *ph, const char *name)
|
|||||||
};
|
};
|
||||||
static const char * const channels_fields[] =
|
static const char * const channels_fields[] =
|
||||||
{
|
{
|
||||||
"schannel", "schantypes", "pcontext", "iflags", "iid", "ilag", "imaxmodes",
|
"schannel", "schannelkey", "schantypes", "pcontext", "iflags", "iid", "ilag", "imaxmodes",
|
||||||
"snetwork", "snickmodes", "snickprefixes", "iqueue", "sserver", "itype", "iusers",
|
"snetwork", "snickmodes", "snickprefixes", "iqueue", "sserver", "itype", "iusers",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
@ -1476,6 +1476,8 @@ hexchat_list_str (hexchat_plugin *ph, hexchat_list *xlist, const char *name)
|
|||||||
{
|
{
|
||||||
case 0x2c0b7d03: /* channel */
|
case 0x2c0b7d03: /* channel */
|
||||||
return ((session *)data)->channel;
|
return ((session *)data)->channel;
|
||||||
|
case 0x8cea5e7c: /* channelkey */
|
||||||
|
return ((session *)data)->channelkey;
|
||||||
case 0x577e0867: /* chantypes */
|
case 0x577e0867: /* chantypes */
|
||||||
return ((session *)data)->server->chantypes;
|
return ((session *)data)->server->chantypes;
|
||||||
case 0x38b735af: /* context */
|
case 0x38b735af: /* context */
|
||||||
|
Loading…
Reference in New Issue
Block a user