From 81ed96af7963bd2c49d7cde2f2fa1eaf33034266 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Mon, 19 Aug 2013 19:20:21 +0200 Subject: [PATCH] bug fix in !get with tag(s) --- lib/commands/get.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/get.pm b/lib/commands/get.pm index e226615..7cd2be2 100644 --- a/lib/commands/get.pm +++ b/lib/commands/get.pm @@ -50,7 +50,7 @@ sub exec { $content = $sth->fetch; - if (!@{$content}) { + if (!$content) { $irc->yield(privmsg => $chan => "Je n'ai rien dans ce registre."); return } -- GitLab