From 0c1418cbe238ea2540102cbbb8d0fbc2849eb9e4 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Tue, 23 Sep 2014 02:13:12 +0200 Subject: [PATCH] A !get is a post by PlayBot --- 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 359681d..e717ae2 100644 --- a/lib/commands/get.pm +++ b/lib/commands/get.pm @@ -154,7 +154,7 @@ sub exec { VALUES (?,?,?)'); $log->error("Couldn't prepare querie; aborting") unless (defined $sth2); - $sth2->execute($content->[0], $chan->[0], $nick) + $sth2->execute($content->[0], $chan->[0], "PlayBot") or $log->error("Couldn't finish transaction: " . $dbh->errstr); return $content->[0]; -- GitLab