]> git.donarmstrong.com Git - infobot.git/commitdiff
warning (typo) fixed
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 15 Aug 2000 11:27:25 +0000 (11:27 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 15 Aug 2000 11:27:25 +0000 (11:27 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@45 c11ca15a-4712-0410-83d8-924469b57eb5

src/Misc.pl

index 03a17328429103fb0155f8fcda9db4efa29ac79e..cbb31e7ff2ca335ffac2512bb66039a965051bc1 100644 (file)
@@ -76,7 +76,7 @@ sub getPath {
     my ($pathnfile) = @_;
 
     ### TODO: gotta hate an if statement.
-    if (/(.*)\/(.*?)$/) {
+    if ($pathnfile =~ /(.*)\/(.*?)$/) {
        return $1;
     } else {
        return ".";