From fbd355dbf159117bd16b20966f6d3ca1c47a3e6f Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 31 Oct 2019 08:43:06 +0000 Subject: [PATCH] weechat: escape buffer name to avoid log spam --- weechat/autosort.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weechat/autosort.conf b/weechat/autosort.conf index cd11d47..0746ec6 100644 --- a/weechat/autosort.conf +++ b/weechat/autosort.conf @@ -20,5 +20,5 @@ sort_limit = 100 sort_on_config_change = on [v3] -helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "irc_last": "${if:${buffer.plugin.name}==irc}", "hashless_name": "${info:autosort_replace,#,,${buffer.name}}", "irc_first": "${if:${buffer.plugin.name}!=irc}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}"}" +helpers = "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "irc_first": "${if:${buffer.plugin.name}!=irc}", "irc_last": "${if:${buffer.plugin.name}==irc}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}"}" rules = "["${core_first}", "${irc_last}", "${buffer.plugin.name}", "${irc_raw_first}", "${if:${plugin}==irc?${server}}", "${if:${plugin}==irc?${info:autosort_order,${type},server,*,channel,private}}", "${if:${plugin}==irc?${hashless_name}}", "${buffer.full_name}"]" -- 2.48.1