From 14fe7c1bf140cf1d6dcee8e702b1cae89f48252b Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 15 Aug 2000 11:27:25 +0000 Subject: [PATCH] warning (typo) fixed git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@45 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Misc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Misc.pl b/blootbot/src/Misc.pl index 03a1732..cbb31e7 100644 --- a/blootbot/src/Misc.pl +++ b/blootbot/src/Misc.pl @@ -76,7 +76,7 @@ sub getPath { my ($pathnfile) = @_; ### TODO: gotta hate an if statement. - if (/(.*)\/(.*?)$/) { + if ($pathnfile =~ /(.*)\/(.*?)$/) { return $1; } else { return "."; -- 2.39.5