user level autoattach overrides network level autoattach #405

Closed
opened 2026-10-05 04:18:53 +02:00 by adam · 7 comments
Owner

On user level I have:

2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+
2014-10-23 16:27:33+0300 < *autoattach> | Neg | Chan | Search  | Host |
2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+
2014-10-23 16:27:33+0300 < *autoattach> |     | *    | *%nick%* | *    |
2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+

on network level at OFTC I have

2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+
2014-10-23 16:26:33+0300 < *autoattach> | Neg | Chan     | Search | Host |
2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+
2014-10-23 16:26:33+0300 < *autoattach> | !   | #supybot | *      | *    |
2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+

What I expect to happen: I get autoattached everywhere on highlight with exception of #supybot at OFTC.

(There is relaybot between #supybot at oftc and freenode, so I only get highlights from myself there.)

On user level I have: ``` 2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+ 2014-10-23 16:27:33+0300 < *autoattach> | Neg | Chan | Search | Host | 2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+ 2014-10-23 16:27:33+0300 < *autoattach> | | * | *%nick%* | * | 2014-10-23 16:27:33+0300 < *autoattach> +-----+------+---------+------+ ``` on network level at OFTC I have ``` 2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+ 2014-10-23 16:26:33+0300 < *autoattach> | Neg | Chan | Search | Host | 2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+ 2014-10-23 16:26:33+0300 < *autoattach> | ! | #supybot | * | * | 2014-10-23 16:26:33+0300 < *autoattach> +-----+----------+--------+------+ ``` What I expect to happen: I get autoattached everywhere on highlight with exception of #supybot at OFTC. (There is relaybot between #supybot at oftc and freenode, so I only get highlights from myself there.) <!-- github-sync-id:46624341 -->
adam closed this issue 2026-10-05 04:18:53 +02:00
Author
Owner
See also: https://github.com/znc/znc/issues/690 <!-- github-comment-id:60238928 -->
Author
Owner

They are two independent instances of the same module...

They are two independent instances of the same module... <!-- github-comment-id:60514806 -->
Author
Owner

So I should blacklist all channels globally and also affect other channels that have the same name?

So I should blacklist all channels globally and also affect other channels that have the same name? <!-- github-comment-id:60515135 -->
Author
Owner

Uhm.
Now you make me wish to disable autoattach module being loadable at user level :(

Uhm. Now you make me wish to disable autoattach module being loadable at user level :( <!-- github-comment-id:60515273 -->
Author
Owner

Disabling it on user level again would make me need to load the module on all networks and add duplicate rules for all of them.

Disabling it on user level again would make me need to load the module on all networks and add duplicate rules for all of them. <!-- github-comment-id:60515306 -->
Author
Owner

+1 for either reverting 576f8d4689 or making autoattach loadable at network level only. The current behavior doesn't seem to match user expectations. :( I think less convenience is better than confusing behavior.

+1 for either reverting 576f8d4689e2768c97b58c64af8cb6eb4b2e64fc or making autoattach loadable at network level only. The current behavior doesn't seem to match user expectations. :( I think less convenience is better than confusing behavior. <!-- github-comment-id:60515928 -->
Author
Owner

The current behaviour (having it as user level makes sense) and in case users have issues it can be putten into FAQ.

The current behaviour (having it as user level makes sense) and in case users have issues it can be putten into FAQ. <!-- github-comment-id:138899260 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#405