View Issue Details

IDProjectCategoryView StatusLast Update
0006388unrealircdpublic2024-02-17 11:02
Reporterrafaelgrether Assigned Tosyzop  
PrioritynoneSeveritytrivialReproducibilityalways
Status closedResolutionno change required 
Product Version6.1.4 
Summary0006388: privdeaf module - usermode +D error in PM
DescriptionHi guys,

When we send a private message to a user who does not exist or who has already left the server, we receive an error message in the user chat itself, which says "No such nick/channel". This makes perfect sense, as it is something that has a direct relationship between us and the target that is not on the server.

But when a user set usermode +D, when we send a private message to this user, we do not receive an error message in the user chat itself, but the error "User does not accept private messages" appeared in the main server chat.

This may unnoticed by many users, making them believe that the message was sent.

I think it might make sense for this error message to appear in the user chat itself, when they have usermode +D, because it has a direct relationship between us and the target.

What do you think? Does what I said make any sense?

Thanks,
Rafael Grether (devnull)
TagsNo tags attached.
3rd party modules

Activities

k4be

2024-02-16 06:20

developer   ~0023143

The module uses a standard ERR_CANTSENDTOUSER 531 reply. The client decides about where the message is shown, as the server has no idea about "user chat" and "server chat" things. I think this should be reported to your client's bugtracker.

rafaelgrether

2024-02-16 15:19

reporter   ~0023144

Thanks, k4be. I tested with 2 different clients, same behavior. I thought it was something on the server side.
I will test on others.

In this case, this report can be closed.

Thanks! :)

syzop

2024-02-17 11:00

administrator   ~0023145

Last edited: 2024-02-17 11:02

Right, and just to be clear: the error response from the server (ERR_CANTSENDTOUSER / numeric 531) does include the destination/target that you were trying to send a message to:
:maintest.test.net 531 sourcenick targetnick :User does not accept private messages

So... the IRC client has "sufficient information" to know about which user this error message is about. It is, however, up to the IRC client what to do with that information. Eg show it in status window or in the query window. I too would opt for the latter for sure, but I am not a client dev :). Most likely the numeric is simply not implemented at the client and it wasn't really a "conscious decision"... usually all unknown numerics end up in the status window. It's worth pointing out that at least according to online info, InspIRCd uses the same numeric, so i think for an IRC client it's worth implementing handling these.

Issue History

Date Modified Username Field Change
2024-02-16 05:05 rafaelgrether New Issue
2024-02-16 06:20 k4be Note Added: 0023143
2024-02-16 15:19 rafaelgrether Note Added: 0023144
2024-02-17 11:00 syzop Assigned To => syzop
2024-02-17 11:00 syzop Status new => closed
2024-02-17 11:00 syzop Resolution open => no change required
2024-02-17 11:00 syzop Note Added: 0023145
2024-02-17 11:02 syzop Note Edited: 0023145
2024-02-17 11:02 syzop Note Edited: 0023145