diff options
| author | 2022-11-30 04:08:30 +0000 | |
|---|---|---|
| committer | 2022-11-30 04:08:30 +0000 | |
| commit | 5dd3629f12603d5d69e59f678b4abe5a81209652 (patch) | |
| tree | 98ca113ab37b0b0f3d9f29075c26daf5e496e926 /src/modules/extra/m_pgsql.cpp | |
| parent | Add a method for quickly escaping a tag value. (diff) | |
Allow attaching tags with extra info to stats rows.
Stats responses are incredibly non-standard and no clients render
them correctly. This makes using /STATS a massive pain in the ass
for users.
However, now we have message tags we have a way to fix this. We can
send a <trailing> with the message details and for clients (probably
bots) that need to parse the response we can include the specific
details in message tags enabled by the new inspircd.org/stats-tags
capability.
The average user will get this:
:<server> 210 <nick> <stats-char> :<stats-message>
If however they enable the newcapability they will get this instead:
@inspircd.org/stats-foo=bar;inspircd.org/stats-baz=bax :<server> 210 <nick> <stats-char> :<stats-message>
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
0 files changed, 0 insertions, 0 deletions
