autoop's AddUser command accepts 2 arguments, while help says it requires 3 #830

Open
opened 2026-10-05 04:47:03 +02:00 by adam · 0 comments
Owner

the following adduser command should be throwing an error, since the key is required and an __NOKEY__ is used for key-less autoop:

<me> help
<*autoop> | AddUser <user> <hostmask>[,<hostmasks>...] <key> [channels] | Adds a user |
<me> adduser foo bar
<*autoop> User foo added with hostmask(s) bar
<me> listusers
<*autoop> +------+-----------+-----+----------
<*autoop> | User | Hostmasks | Key | Channels 
<*autoop> +------+-----------+-----+----------
<*autoop> | foo  | bar       |     |          

also, there are some things that the help and the wiki page are not answering

  • hostmask bar is invalid but accepted; is it still being matched in some way?
  • if there are no channels, will autoop work on all or no channels?
the following adduser command should be throwing an error, since the key is required and an `__NOKEY__` is used for key-less autoop: <me> help <*autoop> | AddUser <user> <hostmask>[,<hostmasks>...] <key> [channels] | Adds a user | <me> adduser foo bar <*autoop> User foo added with hostmask(s) bar <me> listusers <*autoop> +------+-----------+-----+---------- <*autoop> | User | Hostmasks | Key | Channels <*autoop> +------+-----------+-----+---------- <*autoop> | foo | bar | | also, there are some things that the help and the wiki page are not answering * hostmask `bar` is invalid but accepted; is it still being matched in some way? * if there are no channels, will autoop work on all or no channels? <!-- github-sync-id:318915253 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#830