solanum icon indicating copy to clipboard operation
solanum copied to clipboard

Add filter support to WHOX

Open mquin opened this issue 3 years ago • 3 comments

Currently it's not possible to issue a WHO command against a single nickname as the query will also match against the realname field. There's a further extenion to WHO which solves this by prepending one or more filter specifiers to the WHOX field selector.

o — specifies to only list IRC Operators.
n — match nicknames.
u — match usernames ("idents").
h — match hostnames.
i — match numeric IP addresses.
r — match realnames.
s — match server names.
a — match user accounts. 

References: http://faerion.sourceforge.net/doc/irc/whox.var https://github.com/quakenet/snircd/blob/master/doc/readme.who

mquin avatar Jun 11 '21 21:06 mquin

From IRC, the enhanced SCAN proposal may also solve this, but is oper only

https://github.com/solanum-ircd/solanum/issues/7

mquin avatar Jun 11 '21 21:06 mquin

My thought was that scan would not be oper-only, as OFTC's enhanced /who is not oper-only. It would offer reduced functionality based on privileges, of course.

dwfreed avatar Jun 11 '21 21:06 dwfreed

Enhancing WHO is likely a better way to go, as SCAN was a non-standard hyperion/charybdis extension (and originally written for debugging the ircd, but then freenode staff started using it).

kaniini avatar Jun 12 '21 08:06 kaniini