View Issue Details

IDProjectCategoryView StatusLast Update
0005519unrealircdpublic2020-04-13 10:16
ReporterPeGaSuS Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSUbuntuOS Version18.04 LTS
Product Version5.0.0 
Fixed in Version5.0.4 
Summary0005519: /stats s doesn't seem to show tempshuns
Description*** This is now a feature request to show shun statis in /WHOIS ***

I'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 ([email protected]) 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

Relationships

related to 0002655 resolvedsyzop Tempshun listing, identification 

Activities

Jobe

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.

syzop

2020-02-08 10:26

administrator   ~0021292

Changed to feature request to show in whois.

syzop

2020-04-13 08:51

administrator   ~0021460

In 5.0.4 you will see "is shunned" in whois:

commit 55ecfee0a4277e6b8aa16a5d5d08455d277020e8 (HEAD -> unreal50)
Author: Bram Matthys <[email protected]>
Date: Mon Apr 13 08:50:18 2020 +0200

    Show in /WHOIS if a user is currently shunned. Only works for locally
    connected users for technical reasons, so you will have to use double
    whois to see it for remotes (/WHOIS Nick Nick) just like with idle time.
    

Issue History

Date Modified Username Field Change
2020-01-01 22:15 PeGaSuS New Issue
2020-01-01 22:19 Jobe Note Added: 0021184
2020-01-02 13:18 syzop Note Added: 0021187
2020-02-08 10:26 syzop Severity minor => feature
2020-02-08 10:26 syzop Status new => acknowledged
2020-02-08 10:26 syzop Description Updated
2020-02-08 10:26 syzop Note Added: 0021292
2020-04-13 08:51 syzop Assigned To => syzop
2020-04-13 08:51 syzop Status acknowledged => resolved
2020-04-13 08:51 syzop Resolution open => fixed
2020-04-13 08:51 syzop Fixed in Version => 5.0.4
2020-04-13 08:51 syzop Note Added: 0021460
2020-04-13 10:16 syzop Relationship added related to 0002655