From: dms Date: Tue, 15 Aug 2000 11:27:25 +0000 (+0000) Subject: warning (typo) fixed X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=14fe7c1bf140cf1d6dcee8e702b1cae89f48252b;p=infobot.git warning (typo) fixed git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@45 c11ca15a-4712-0410-83d8-924469b57eb5 --- 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 ".";