mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Remove left-over debugging print statements
This commit is contained in:
parent
239e3de8ea
commit
62d93c76c3
@ -387,10 +387,6 @@ sub show_random_quotegrab {
|
||||
|
||||
$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);
|
||||
|
||||
if(not defined $quotegrab) {
|
||||
|
@ -134,7 +134,6 @@ sub get_random_quotegrab {
|
||||
|
||||
$sql .= 'ORDER BY RANDOM() LIMIT 1';
|
||||
|
||||
print "sql: [$sql]\n";
|
||||
my $sth = $self->{dbh}->prepare($sql);
|
||||
$sth->execute(@params);
|
||||
return $sth->fetchrow_hashref();
|
||||
|
@ -13,7 +13,7 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 566,
|
||||
BUILD_REVISION => 567,
|
||||
BUILD_DATE => "2014-05-05",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user