View Issue Details

IDProjectCategoryView StatusLast Update
0005519unrealircdpublic2020-01-02 13:18
ReporterPeGaSuSAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformUnixOSUbuntuOS Version18.04 LTS
Product Version5.0.0 
Target VersionFixed in Version 
Summary0005519: /stats s doesn't seem to show tempshuns
DescriptionI've added a tempshun with command /TEMPSHUN NICK and i've got this reply:
[20:57:47] [beta.ptirc.org] Temporary shun added on user Linker (~pylink@hostmask.goes.here) by James [no reason]

But then I've tried the following commands:
/stats s
/stats s beta.ptirc.org

None gave a reply other than:
[20:59:29] * s :End of /STATS report

Tested with IRCCloud, Quassel, HexChat and mIRC.
Steps To Reproduce1) Add a tempshun with the command: /TEMPSHUN nick
2) Execute the command: /STATS s
3) No output other than: * s :End of /STATS report
TagsNo tags attached.
3rd party modulesthird/block_masshighlight, third/autovhost, third/noghosts, third/banfix_voice, third/chansno

Activities

Jobe1986

2020-01-01 22:19

reporter   ~0021184

The problem here is that tempshuns are set by way of a flag attached to each user they apply to, similar to a user mode. So to list them would require iterating over the ENTIRE user list to identify each user who has been tempshun'ed.

syzop

2020-01-02 13:18

administrator   ~0021187

It's even more problematic. Tempshuns are only known by the server the user is connected to. So if you want to list it tempshuns for all servers, which is what would be the expected behavior, then you have to broadcast a stats command, integrate results, etc. etc... sure it is possible but I don't think that is feasible for something like this.
I could add something to WHOIS though, for opers to see. Both for tempshun and shun, I think it was suggested on IRC.

Issue History

Date Modified Username Field Change
2020-01-01 22:15 PeGaSuS New Issue
2020-01-01 22:19 Jobe1986 Note Added: 0021184
2020-01-02 13:18 syzop Note Added: 0021187