1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 03:03:12 +02:00

irc: replace version x.y.z by 2.2 in comment

This commit is contained in:
Sébastien Helleu
2018-05-20 15:25:57 +02:00
parent 498072734f
commit 6356646c25
+4 -1
View File
@@ -420,7 +420,10 @@ irc_upgrade_read_cb (const void *pointer, void *data,
str = weechat_infolist_string (infolist, "nick_modes");
if (str)
irc_upgrade_current_server->nick_modes = strdup (str);
/* "cap_ls" and "cap_list" replace "cap_away_notify" and "cap_account_notify" in WeeChat x.y.z */
/*
* "cap_ls" and "cap_list" replace "cap_away_notify" and
* "cap_account_notify" in WeeChat 2.2
*/
if (weechat_infolist_integer (infolist, "cap_away_notify"))
{
weechat_hashtable_set (irc_upgrade_current_server->cap_ls, "away-notify", NULL);