Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 2.73 KB

File metadata and controls

68 lines (54 loc) · 2.73 KB

WHOX

Introduction

See https://ircv3.net/specs/extensions/whox

Standard fields

Field Description Hint
t the <token> specified by the client
c an arbitrary channel the client is joined to
u username
i IP address
h hostname
s server name
n nickname
f WHO flags (away, server operator, etc)
d hop count (distance)
l number of seconds the user has been idle for Idle time of users on other servers is not available
a account name SASL account name or "0" if the user is not logged in
o channel op level Always "n/a"
r realname

Additional non-standard fields

The following additional fields have been added:

Field Description
S return the SID
U return the UID

Examples

Username/ident, IP address, hostname, nick

WHO #ircd %cihn
:dev.irc.it 354 test #ircd 92.74.191.157 dslb-092-074-191-157.092.074.pools.vodafone-ip.de test
:dev.irc.it 354 test #ircd 54.38.153.88 de.ircnet.com patrick_
:dev.irc.it 354 test #ircd 255.255.255.255 patrick.users.contempt.chat patrick
:dev.irc.it 315 test #ircd :End of WHO list.

Nick and UID

WHO #ircd %cnU
:dev.irc.it 354 test #ircd test 380DAAAAB
:dev.irc.it 354 test #ircd patrick_ 380IAAADT
:dev.irc.it 354 test #ircd patrick 380IAAADL
:dev.irc.it 315 test #ircd :End of WHO list.

SID only

WHO #ircd %cS
:dev.irc.it 354 test #ircd 380D
:dev.irc.it 354 test #ircd 380I
:dev.irc.it 354 test #ircd 380I
:dev.irc.it 315 test #ircd :End of WHO list.

All information and token 123

WHO #ircd %tcuihsnfdlaorSU,123
:dev.irc.it 354 test 123 #ircd ~username 92.74.191.157 dslb-092-074-191-157.092.074.pools.vodafone-ip.de dev.irc.it test H 0 262 0 n/a 380D 380DAAAAB :realname
:dev.irc.it 354 test 123 #ircd ~patrick 54.38.153.88 de.ircnet.com nova.irc.it patrick_ H 1 0 0 n/a 380I 380IAAADS :email: patrick@ircnet.com
:dev.irc.it 354 test 123 #ircd ~patrick 255.255.255.255 patrick.users.contempt.chat nova.irc.it patrick H*@ 1 0 patrick n/a 380I 380IAAADL :Patrick
:dev.irc.it 315 test #ircd :End of WHO list.

Legacy: Former 'o' flag which filters for opers is still working with or without WHOX fields

who #ircd o%cn 
:dev.irc.it 354 test #ircd patrick
:dev.irc.it 315 test #ircd :End of WHO list.