diff options
| author | 2011-04-26 17:42:42 +0000 | |
|---|---|---|
| committer | 2011-04-26 17:42:42 +0000 | |
| commit | aa421a2d56c5bdfb467eddaba478e5aef04bbce4 (patch) | |
| tree | 19227ab5338617627d11f71815bb4a939d203531 /modules/mysql.pl | |
| parent | 19aa221058512854b805994803e91214cd094b40 (diff) | |
Lots of added stuff. Don't know whatall.
Diffstat (limited to 'modules/mysql.pl')
| -rw-r--r-- | modules/mysql.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mysql.pl b/modules/mysql.pl index f0b7845..e5470bb 100644 --- a/modules/mysql.pl +++ b/modules/mysql.pl @@ -134,7 +134,7 @@ sub query $host =~ s/\*/%/g; $host =~ s/_/\\_/g; $host =~ s/\?/_/g; - my $sth = $dbh->prepare("SELECT * from $self->{TABLE} WHERE channel = $channel and nick like $nick and user like $user and host like $host;"); + my $sth = $dbh->prepare("SELECT * from $self->{TABLE} WHERE channel like $channel and nick like $nick and user like $user and host like $host;"); $sth->execute; my $i = 0; while (my $ref = $sth->fetchrow_arrayref) { |
