From 0cd7ac5b93aa3876c5519f084bec1a87c95714b1 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Sat, 16 May 2015 23:40:19 +0200
Subject: [PATCH] You didn't see anything

---
 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 d72f78b..418ad73 100644
--- a/lib/commands/parser.pm
+++ b/lib/commands/parser.pm
@@ -99,7 +99,7 @@ sub exec {
             $lastID->{$chan} = $id;
         }
     }
-    if ($msg =~ /^ *!stats(?: (\S+))? *$/) {
+    elsif ($msg =~ /^ *!stats(?: (\S+))? *$/) {
         my $index = $1;
         try {
             my $id = utils::id::get($chan, $index);
-- 
GitLab