From: Andres S. <di...@us...> - 2005-02-11 20:00:18
|
Update of /cvsroot/tuxaator/tuxaator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1608 Modified Files: BotCore.pm Log Message: anchor hostmasks from both end Index: BotCore.pm =================================================================== RCS file: /cvsroot/tuxaator/tuxaator/BotCore.pm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** BotCore.pm 8 Nov 2004 22:02:49 -0000 1.9 --- BotCore.pm 11 Feb 2005 20:00:07 -0000 1.10 *************** *** 56,60 **** while (($key, $value) = each %{$class->{"users"}}) { ! $allowed = 1 if ( ($hostmask =~ /$key/i) && ($value >= $level) ); }; if ($allowed) --- 56,60 ---- while (($key, $value) = each %{$class->{"users"}}) { ! $allowed = 1 if ( ($hostmask =~ /^$key$/i) && ($value >= $level) ); }; if ($allowed) |