aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterWebInterface/Handler/Json/Motd.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MasterWebInterface/Handler/Json/Motd.pm')
-rwxr-xr-xlib/MasterWebInterface/Handler/Json/Motd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MasterWebInterface/Handler/Json/Motd.pm b/lib/MasterWebInterface/Handler/Json/Motd.pm
index c473f12..869ae5f 100755
--- a/lib/MasterWebInterface/Handler/Json/Motd.pm
+++ b/lib/MasterWebInterface/Handler/Json/Motd.pm
@@ -8,7 +8,7 @@ use Exporter 'import';
our @EXPORT = qw| motd_static |;
TUWF::register(
- qr{json/(.[\w]{1,20})/motd} => \&json_motd,
+ qr{json/([\w]{1,20})/motd} => \&json_motd,
);
# Message of the Day for things like the JSON API or updateserver page