]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Link to the associated documentation page for modules in errors.
authorPeter Powell <petpow@saberuk.com>
Tue, 16 Jul 2019 10:52:09 +0000 (11:52 +0100)
committerPeter Powell <petpow@saberuk.com>
Tue, 16 Jul 2019 10:52:09 +0000 (11:52 +0100)
make/directive.pm

index cdf869e5ec62d9d832ab4d684e53d384c3158835..53cc57251e002ff4010ab005dd1a03688f1b5fb9 100644 (file)
@@ -131,6 +131,9 @@ sub __error {
        } else {
                push @message, 'If you believe this error to be a bug then you can file a bug report';
                push @message, 'at https://github.com/inspircd/inspircd/issues';
+               push @message, '';
+               push @message, 'You can also refer to the documentation page for this module at';
+               push @message, "https://docs.inspircd.org/3/modules/${\__module $file}";
        }
        push @message, '';