View Issue Details

IDProjectCategoryView StatusLast Update
0005774unrealircdpublic2020-10-12 10:54
Reporterivanp Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0005774: Add a reason and ID to "Forbidding Q-lined" message
Description"Forbidding Q-lined nick xxx from [yyy]." message should be extended to include a reason and its ID, to be able to easily locate it using "/os sqline view" command.

It should look like this:
"Forbidding Q-lined nick xxx from [yyy] - Reason (ID: zzz)."

To achieve that, in modules/nick.c change:

sendto_snomask(SNO_QLINE, "Forbidding Q-lined nick %s from %s.",
                nick, get_client_name(cptr, FALSE));

to:

sendto_snomask(SNO_QLINE, "Forbidding Q-lined nick %s from %s - %s.",
                nick, get_client_name(cptr, FALSE), tklban->ptr.nameban->reason);
TagsNo tags attached.
3rd party modules

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-10-12 10:54 ivanp New Issue