mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
This commit is contained in:
@@ -26,6 +26,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
* api: add function string_hex_dump()
|
||||
* api: add argument "length" in function utf8_is_valid()
|
||||
* alias: display completion in /alias list (issue #518)
|
||||
* irc: use current channel first in completion "irc_channels"
|
||||
(task #12923, issue #392)
|
||||
* irc: add support of "cap-notify" capability (issue #182, issue #477)
|
||||
* irc: add command /cap (issue #8)
|
||||
* irc: add hex dump of messages in raw buffer when debug is enabled for irc
|
||||
|
||||
@@ -480,6 +480,14 @@ irc_completion_channels_cb (void *data, const char *completion_item,
|
||||
}
|
||||
}
|
||||
|
||||
/* add current channel first in list */
|
||||
irc_buffer_get_server_and_channel (buffer, NULL, &ptr_channel);
|
||||
if (ptr_channel)
|
||||
{
|
||||
weechat_hook_completion_list_add (completion, ptr_channel->name,
|
||||
0, WEECHAT_LIST_POS_BEGINNING);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user