User Control Panel
|
|
|
 |
Advertisements
|
 |
|
|
|
HELP US, HELP YOU!
|
| Author |
Message |
jeanhub Almost An Agent

Joined: 14 Feb 2004 Posts: 1138
 
|
Posted: Mon Mar 08, 2004 10:50 pm Post subject: |
|
|
| Code: | | if ($msg =~ /^read log (.*)$/) {<br />if (isAdmins($1) || isSmods($1) || isMods($1) || isFirsts($1)) {<br />open (FILE, "./Logs/Admins/$1.txt")if (isAdmins($1));<br />open (FILE, "./Logs/Smods/$1.txt")if (isSmods($1));<br />open (FILE, "./Logs/Mods/$1.txt")if (isMods($1));<br />open (FILE, "./Logs/Firsts/$1.txt")if (isFirsts($1));<br />}else{<br />open (FILE, "./Logs/Users/$1.txt");<br />}<br />@log = <FILE>;<br />close FILE;<br />&send($self, "$1's Log: \n\n@log");<br />} |
I cant read the mods+ logs... here is what i got...dunno if its an error (tested on a smod)
| Quote: | | readline() on closed filehandle FILE at (eval 198) line 12. |
Can you correct the bug so i can read the mods smod and admins logs thanks  |
|
| Back to top |
|
 |
|
|