Open Bug 1572940 Opened 6 years ago Updated 3 years ago

Add /stats command

Categories

(Chat Core :: IRC, defect)

x86_64
Windows 10
defect

Tracking

(Not tracked)

UNCONFIRMED

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:

  1. connect to irc server, e.g. irc.freenode.net
  2. join channel, e.g. #freenode
  3. type /stats p in the chat box and hit enter

What's the expected output of this command? I've never heard of any client implementing it before.

Component: Instant Messaging → IRC
Product: Thunderbird → Chat Core
Summary: [irc] /stats p not working → Add /stats command

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

Yes, the stats command is not implemented. It didn't seem useful when writing that code, interesting that Wikipedia suggests using it, however.

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

(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 p does 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).

Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.