diff --git a/lib/commands/get.pm b/lib/commands/get.pm index e2266151a614605d2e3ba3157b5838069afc4aa4..7cd2be2190d5dd49dd289cca337a14acd7990e60 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 }