From ce1099be5cb971281c761f208b15a52e66ce2cb2 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Tue, 5 Nov 2013 11:55:56 +0100 Subject: [PATCH] fix command !get --- lib/commands/parser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/parser.pm b/lib/commands/parser.pm index adcbdb6..5f64234 100644 --- a/lib/commands/parser.pm +++ b/lib/commands/parser.pm @@ -62,7 +62,7 @@ sub exec { commands::tag::exec($id, $msg); } - elsif ($msg =~ /^( *!get)/) { + elsif ($msg =~ /^( *!get(?: +.*)?$)/) { $msg = substr $msg, length $1; my @args = ($kernel, $user, $chan, $msg); my $id = commands::get::exec(@args); -- GitLab