3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00

Remove left-over debugging print statements

This commit is contained in:
Pragmatic Software 2014-05-06 05:17:31 +00:00
parent 239e3de8ea
commit 62d93c76c3
3 changed files with 1 additions and 6 deletions

View File

@ -387,10 +387,6 @@ sub show_random_quotegrab {
$channel_search = undef if defined $channel_search and $channel_search !~ /^#/; $channel_search = undef if defined $channel_search and $channel_search !~ /^#/;
print "nick: [" . (defined $nick_search ? $nick_search : "undef") . "]\n";
print "channel: [" . (defined $channel_search ? $channel_search : "undef") . "]\n";
print "text: [" . (defined $text_search ? $text_search : "undef") . "]\n";
my $quotegrab = $self->{quotegrabs_db}->get_random_quotegrab($nick_search, $channel_search, $text_search); my $quotegrab = $self->{quotegrabs_db}->get_random_quotegrab($nick_search, $channel_search, $text_search);
if(not defined $quotegrab) { if(not defined $quotegrab) {

View File

@ -134,7 +134,6 @@ sub get_random_quotegrab {
$sql .= 'ORDER BY RANDOM() LIMIT 1'; $sql .= 'ORDER BY RANDOM() LIMIT 1';
print "sql: [$sql]\n";
my $sth = $self->{dbh}->prepare($sql); my $sth = $self->{dbh}->prepare($sql);
$sth->execute(@params); $sth->execute(@params);
return $sth->fetchrow_hashref(); return $sth->fetchrow_hashref();

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 566, BUILD_REVISION => 567,
BUILD_DATE => "2014-05-05", BUILD_DATE => "2014-05-05",
}; };