mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also handling half-ops (+h) should work right. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7cbd164e75
commit
67cc9af1bd
15 changed files with 351 additions and 232 deletions
|
|
@ -101,10 +101,7 @@ static char *expando_chanmode(void *server, void *item, int *free_ret)
|
|||
CHANNEL_REC *channel;
|
||||
|
||||
channel = irc_item_channel(item);
|
||||
if (channel == NULL) return NULL;
|
||||
|
||||
*free_ret = TRUE;
|
||||
return channel_get_mode(channel);
|
||||
return channel == NULL ? NULL : channel->mode;
|
||||
}
|
||||
|
||||
/* current nickname */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue