summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2005-07-25 05:24:01 +0000
committererdgeist <>2005-07-25 05:24:01 +0000
commit77519acd4a7806fc12d6ce95e46c1ecce79cc831 (patch)
treeafd8044c745af5b24496d23b7cc549113c2ece57
parent6784fd930ef6156335e0e94d2de41c7cc2011242 (diff)
baby bug
-rw-r--r--bot.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.pl b/bot.pl
index 267c107..97394b3 100644
--- a/bot.pl
+++ b/bot.pl
@@ -176,7 +176,7 @@ sub irc_pub_msg{
176 } 176 }
177 177
178 if( $nick ne $current_nick ) { 178 if( $nick ne $current_nick ) {
179 my $sth = $dbh->do( "UPDATE users SET lines = lines + 1, words = words + $numwords + 1, isaway = false WHERE nick = ?" ); 179 my $sth = $dbh->prepare( "UPDATE users SET lines = lines + 1, words = words + $numwords + 1, isaway = false WHERE nick = ?" );
180 $sth->execute( $nick ); 180 $sth->execute( $nick );
181 } 181 }
182 182