View Issue Details

IDProjectCategoryView StatusLast Update
0006072unrealircdpublic2022-06-19 20:16
ReporterJellis Assigned Tosyzop  
PrioritylowSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.2 
Fixed in Version6.0.5 
Summary0006072: Make tld::motd and tld::rules optional
DescriptionAdding a TLD for mask * and giving a (remote url) MOTD will have the IRCd spit out config warning

config.CONFIG_ERROR_GENERIC [error] https://***:***@example.com:44: tld::rules is missing

As discussed on IRC #unreal-support if something isn't specified it should default to default ircd/conf setting and not force users to add rules also here?
Also: UnrealIRCd doesn't ship (by default) with a ircd.rules or something - Add an empty file?
Steps To ReproduceAdd a TLD block like (rules is commented and will spit out the warning)

tld {
    mask *;
    motd "https://user:pass@example.com/irc1.motd";
// rules "ircd.rules";
};
TagsNo tags attached.
3rd party modules

Activities

syzop

2022-06-19 20:16

administrator   ~0022563

Yes, you are right. Done now, thanks! :)

https://github.com/unrealircd/unrealircd/commit/1fe6119026b9252e22361f7f7315edad9cf84005

commit 1fe6119026b9252e22361f7f7315edad9cf84005 (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <syzop@vulnscan.org>
Date: Sun Jun 19 20:15:00 2022 +0200

    Make tld::motd and tld::rules optional.
    Suggested by Jellis in https://bugs.unrealircd.org/view.php?id=6072

Issue History

Date Modified Username Field Change
2022-02-19 23:54 Jellis New Issue
2022-03-23 08:13 syzop Status new => acknowledged
2022-03-23 12:27 syzop Summary TLD block (remote) MOTD => Make tld::motd and tld::rules optional
2022-06-19 20:16 syzop Assigned To => syzop
2022-06-19 20:16 syzop Status acknowledged => resolved
2022-06-19 20:16 syzop Resolution open => fixed
2022-06-19 20:16 syzop Fixed in Version => 6.0.5
2022-06-19 20:16 syzop Note Added: 0022563