Add /stats command
Categories
(Chat Core :: IRC, defect)
Tracking
(Not tracked)
People
(Reporter: vtol, Unassigned)
Details
- TB 69.0b2 (64-bit)
- W10 Pro v1903 b18362.267
/stats p is a basic IRC (channel) command that displays a list of active, on-call network staff.
It works with other common IRC clients but not the TB chat module, latter producing upon execution
/stats is not a supported command
steps to reproduce:
- connect to irc server, e.g. irc.freenode.net
- join channel, e.g. #freenode
- type
/stats pin the chat box and hit enter
Comment 1•6 years ago
|
||
What's the expected output of this command? I've never heard of any client implementing it before.
It is not just specifically /stats p but stats in general that is not implemented in the TB IRC module. Other standalone RC clients do not exhibit the issue
https://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands#STATS
https://en.wikipedia.org/wiki/Wikipedia:IRC/Tutorial #Applying for a host cloak
Comment 3•6 years ago
|
||
Yes, the stats command is not implemented. It didn't seem useful when writing that code, interesting that Wikipedia suggests using it, however.
Comment 4•6 years ago
|
||
I should also note that you can use the /quote command to send any generic IRC message:
/quote stats p
I'm unsure if the output would be properly interpreted / displayed anywhere, however. (I think it would be displayed in the "server" tab, but not 100% sure.)
Note that this command is not allowed on moznet. (Permission denied - STATS p requires the servers/auspex priv.)
The TB IRC module is designed only/primarily for (being useful with) moznet? If so it should be mentioned somewhere, least I could not find such hint. If however intended for general IRC use it should be compliant with the governing RFC, or not?
/quote stats p does not produce any output, neither in the channel nor in the server
Comment 7•6 years ago
|
||
(In reply to vtol from comment #5)
The TB IRC module is designed only/primarily for (being useful with) moznet? If so it should be mentioned somewhere, least I could not find such hint.
I did not say that. I just happen to be logged into there and tested it on moznet.
If however intended for general IRC use it should be compliant with the governing RFC, or not?
It is intended to be use as a general IRC client. RFC 1459 describes the IRC protocol, it does not describe how a user should interact with a client. Not every IRC protocol command should be exposed to users via slash commands.
As I stated above, I had never come across a use for needing the STATS command, so support for it was never implemented.
/quote stats pdoes not produce any output, neither in the channel nor in the server
That's unfortunate! We probably never implemented the proper handlers (since the code would never send the STATS command there was no way to get back the responses from it).
Updated•3 years ago
|
Description
•