From 4a55d9b1cdba76fa252f915d236eda76bd47b9f0 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Tue, 19 Nov 2013 11:42:31 +0100 Subject: [PATCH] bug fix --- 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 6baa3d0..95b2b63 100644 --- a/lib/commands/parser.pm +++ b/lib/commands/parser.pm @@ -42,7 +42,7 @@ sub exec { my ($kernel, $user, $chan, $msg) = @_; my ($nick, $mask) = split(/!/,$user); - $re_place_t ="\\ +@\\ +(?<place>[^:]*)"; + my $re_place_t ="\\ +@\\ +(?<place>[^:]*)"; if ($msg =~ m=^Sam(?:,|:) # hl \ +(?<add_user>je\ +(vais|viens)\ +à\ +)? # add_user -- GitLab