View Issue Details

IDProjectCategoryView StatusLast Update
0005198unrealircdpublic2019-02-01 14:28
Reporterk4beAssigned Tosyzop 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version4.2.1 
Target VersionFixed in Version4.2.2-rc1 
Summary0005198: Make gline/kline contact information message customizable
DescriptionCurrently the message is fixed to "Email %s for more information."
Allowing to change it using server configuration would help in cases, when the contact information is not an email address, and would make translating the message easy.
Possible config example, with "placeholders" as in blacklist reason:
set {
   reject-message {
        kline "Contact $klineaddr for more information. / Skontaktuj si? z $klineaddr, aby uzyska? wi?cej informacji.";
        gline "Contact $glineaddr for more information. / Skontaktuj si? z $glineaddr, aby uzyska? wi?cej informacji.";
    };
};
TagsNo tags attached.
3rd party modules

Activities

syzop

2019-02-01 14:28

administrator   ~0020473

Thanks for the suggestion. I've now made it possible to not only set the last part, but the complete message.
https://github.com/unrealircd/unrealircd/commit/1790efd05da9121809918c8f0a28671a29be8b51

commit 1790efd05da9121809918c8f0a28671a29be8b51
Author: Bram Matthys <syzop@vulnscan.org>
Date: Fri Feb 1 14:25:52 2019 +0100

    The message sent to users upon *LINE can now be adjusted completely via
    set::reject-message::kline and set::reject-message::gline.
    See https://www.unrealircd.org/docs/Set_block#set::reject-message
    Suggested by k4be in https://bugs.unrealircd.org/view.php?id=5198

Issue History

Date Modified Username Field Change
2019-01-27 19:24 k4be New Issue
2019-02-01 14:28 syzop Assigned To => syzop
2019-02-01 14:28 syzop Status new => resolved
2019-02-01 14:28 syzop Resolution open => fixed
2019-02-01 14:28 syzop Fixed in Version => 4.2.2-rc1
2019-02-01 14:28 syzop Note Added: 0020473