From: Andres S. <di...@us...> - 2005-02-11 18:53:35
|
Update of /cvsroot/tuxaator/tuxaator/Plugins/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6601/Plugins/Core Modified Files: Plugin.pm Log Message: commented out the attempt to read /home/kaups/.tux Index: Plugin.pm =================================================================== RCS file: /cvsroot/tuxaator/tuxaator/Plugins/Core/Plugin.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Plugin.pm 30 Mar 2004 20:37:05 -0000 1.3 --- Plugin.pm 11 Feb 2005 18:53:15 -0000 1.4 *************** *** 188,191 **** --- 188,204 ---- }; close HOSTS; + # open HOSTS,"</home/kaups/.tux" or die "cannot open hosts file\n"; + # while(<HOSTS>) + # { + # unless (/^#/) + # { + # my ($hostmask,$level) = $_ =~ /^\s*(.+?)\s*\|\s*(.+?)$/; + # if ($hostmask && $level) + # { + # $users{$hostmask} = 2; + # }; + # }; + # }; + # close HOSTS; return %users; } |