View Issue Details

IDProjectCategoryView StatusLast Update
0005774unrealircdpublic2020-10-30 19:37
Reporterivanp Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
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

syzop

2020-10-30 19:37

administrator   ~0021824

Yeah, makes sense to include the reason indeed. (as for ID, that is up to anope to store in the reason of course)

Issue History

Date Modified Username Field Change
2020-10-12 10:54 ivanp New Issue
2020-10-30 19:37 syzop Status new => acknowledged
2020-10-30 19:37 syzop Note Added: 0021824