summaryrefslogtreecommitdiff
path: root/lib/Multi/IRC.pm
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-05-28 21:02:32 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-05-28 21:02:32 +0000
commitc0714595eb620a0fbb2ea9fe12465483419aae22 (patch)
treea89902474c3397458141eff01722f2bc4e9b772f /lib/Multi/IRC.pm
parent3b6642367edf7af5a927b3a0349582ca59f1396b (diff)
Realized the vncache should be updated daily in order to catch recently released titles. Fixed Multi::IRC to catch dx.x IDs without matching version numbers
git-svn-id: svn://vndb.org/vndb@18 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib/Multi/IRC.pm')
-rw-r--r--lib/Multi/IRC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Multi/IRC.pm b/lib/Multi/IRC.pm
index 5611c3cf..e143d56b 100644
--- a/lib/Multi/IRC.pm
+++ b/lib/Multi/IRC.pm
@@ -148,7 +148,7 @@ sub vndbid { # dest, msg
my @id;
push @id, [$1,$2,$3,$4] while $m =~ s/^(.*)([duvpr])([0-9]+)(.*)$/ $1 $4 /i;
for (reverse @id) {
- next if $$_[0] =~ /[a-z0-9%\/]$/i || $$_[3] =~ /^[a-z.]/i;
+ next if $$_[0] =~ /[a-z0-9%\/]$/i || $$_[3] =~ /^[a-z]/i || ($$_[1] eq 'v' && $$_[3] =~ /^\.[0-9]/);
my($t, $id, $ext) = (lc($$_[1]), $$_[2], $$_[3]);
next if $_[HEAP]{log}{$t.$id};