user-level AutoClearChanBuffer is true (default), and unspecified for #channel
/msg *controlpanel get AutoClearChanBuffer user
<*controlpanel> AutoClearChanBuffer = true
/msg *controlpanel getchan AutoClearChanBuffer user network #channel
<*controlpanel> AutoClearChanBuffer = true
/msg *controlpanel set AutoClearChanBuffer user false
<*controlpanel> AutoClearChanBuffer = false
/msg *controlpanel getchan AutoClearChanBuffer user network #channel
<*controlpanel> AutoClearChanBuffer = true
/msg *status saveconfig
Expected result: #channel follows the user-level setting
Actual result: #channel has an explicit AutoClearChanBuffer = false in the config.
The same problem occurs with Buffer(Count). Relevant discussion from #znc on Freenode:
[14:01:25] <axp-882> So I just loaded znc 1.5 and set autoclearchanbuffer to false but when I open the client it doesn't load the buffer
[14:01:53] <axp-882> I did this "/set autoclearchanbuffer username false"
[14:02:45] <axp-882> Well "/msg *controlpanel set autoclearchanbuffer user false"
[14:03:09] <axp-882> Still won't load old buffer. Ideas?
[14:06:37] <axp-882> anyone? :)
[14:10:15] <jpnurmi> axp-882: what does "getchan autoclearchanbuffer <user> <network> <#channel>" say?
[14:14:37] <axp-882> To wwh should I send it to?
[14:14:44] <jpnurmi> *controlpanel
[14:16:16] <axp-882> Says true :/
[14:16:34] <axp-882> How do I set it to false to all channels?
[14:18:50] <jpnurmi> that's annoying :/
[14:19:13] <axp-882> Yes it is lol
[14:19:19] <jpnurmi> when you switch the user value, the old value stays for all channels. now if you save the config, it will explicitly save that value for each channel i suppose
[14:19:30] <jpnurmi> i have a pull request to make setchan accept wildcars https://github.com/znc/znc/pull/679
[14:19:31] <ZNC-Linker> https://github.com/znc/znc/pull/679 “controlpanel: allow wildcards for setchan” (open)
[14:20:11] <axp-882> Hmm so I hhave to manually do it for all channels now?
[14:21:57] <jpnurmi> i'd change the user value back to true, shutdown znc, change the value by hand in config, restart znc. that way channels will follow the new user value
[14:22:48] <axp-882> Thats super annoying
[14:23:45] <jpnurmi> yes
[14:32:01] <axp-882> didn't want to restart did it manually
[14:34:28] <axp-882> is there any way to set lines to cache with the control panel?
[14:35:27] <axp-882> that would be awesome
[14:35:28] <jpnurmi> set buffercount / setchan buffer
[14:35:38] <jpnurmi> and you're probably going to face the same problem
[14:36:40] <axp-882> hmm don't have that many channels its okay for now
[14:37:02] <axp-882> but doing the clear buffer worked
[14:42:07] <axp-882> thanks jpnurmi
[14:43:07] <axp-882> I did set buffercount username value then did setchan buffer .... for all channels
Steps:
- user-level `AutoClearChanBuffer` is **true** (default), and unspecified for #channel
```
/msg *controlpanel get AutoClearChanBuffer user
<*controlpanel> AutoClearChanBuffer = true
/msg *controlpanel getchan AutoClearChanBuffer user network #channel
<*controlpanel> AutoClearChanBuffer = true
/msg *controlpanel set AutoClearChanBuffer user false
<*controlpanel> AutoClearChanBuffer = false
/msg *controlpanel getchan AutoClearChanBuffer user network #channel
<*controlpanel> AutoClearChanBuffer = true
/msg *status saveconfig
```
Expected result: #channel follows the user-level setting
Actual result: #channel has an explicit `AutoClearChanBuffer = false` in the config.
The same problem occurs with Buffer(Count). Relevant discussion from #znc on Freenode:
```
[14:01:25] <axp-882> So I just loaded znc 1.5 and set autoclearchanbuffer to false but when I open the client it doesn't load the buffer
[14:01:53] <axp-882> I did this "/set autoclearchanbuffer username false"
[14:02:45] <axp-882> Well "/msg *controlpanel set autoclearchanbuffer user false"
[14:03:09] <axp-882> Still won't load old buffer. Ideas?
[14:06:37] <axp-882> anyone? :)
[14:10:15] <jpnurmi> axp-882: what does "getchan autoclearchanbuffer <user> <network> <#channel>" say?
[14:14:37] <axp-882> To wwh should I send it to?
[14:14:44] <jpnurmi> *controlpanel
[14:16:16] <axp-882> Says true :/
[14:16:34] <axp-882> How do I set it to false to all channels?
[14:18:50] <jpnurmi> that's annoying :/
[14:19:13] <axp-882> Yes it is lol
[14:19:19] <jpnurmi> when you switch the user value, the old value stays for all channels. now if you save the config, it will explicitly save that value for each channel i suppose
[14:19:30] <jpnurmi> i have a pull request to make setchan accept wildcars https://github.com/znc/znc/pull/679
[14:19:31] <ZNC-Linker> https://github.com/znc/znc/pull/679 “controlpanel: allow wildcards for setchan” (open)
[14:20:11] <axp-882> Hmm so I hhave to manually do it for all channels now?
[14:21:57] <jpnurmi> i'd change the user value back to true, shutdown znc, change the value by hand in config, restart znc. that way channels will follow the new user value
[14:22:48] <axp-882> Thats super annoying
[14:23:45] <jpnurmi> yes
[14:32:01] <axp-882> didn't want to restart did it manually
[14:34:28] <axp-882> is there any way to set lines to cache with the control panel?
[14:35:27] <axp-882> that would be awesome
[14:35:28] <jpnurmi> set buffercount / setchan buffer
[14:35:38] <jpnurmi> and you're probably going to face the same problem
[14:36:40] <axp-882> hmm don't have that many channels its okay for now
[14:37:02] <axp-882> but doing the clear buffer worked
[14:42:07] <axp-882> thanks jpnurmi
[14:43:07] <axp-882> I did set buffercount username value then did setchan buffer .... for all channels
```
<!-- github-sync-id:44070564 -->
Another workaround besides shutting znc down and editing config, is to cycle all the channels after switching the default
Another workaround besides shutting znc down and editing config, is to cycle all the channels after switching the default
<!-- github-comment-id:57017186 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Steps:
AutoClearChanBufferis true (default), and unspecified for #channelExpected result: #channel follows the user-level setting
Actual result: #channel has an explicit
AutoClearChanBuffer = falsein the config.The same problem occurs with Buffer(Count). Relevant discussion from #znc on Freenode:
Another workaround besides shutting znc down and editing config, is to cycle all the channels after switching the default