Problem with using admin commands.

Back to PHP-IRC Bugs

Page: 1  
From User Message Body
Nightmare
Post #533
Member
Date: 5:51 pm, Jun 6 2007
Posts: 3


I get the following error whilst trying to use an admin command.

Code

Notice: Undefined index:  class in /home/ben/Bot/parser.php on line 763

Fatal error: Call to a member function priv_admin() on a non-object in /home/ben/Bot/parser.php on line 770


On line 763, we have:
Code
 $class = $this->cmdList['file'][$module]['class']; 


on 770, we have:
Code
 $class->$func($line, $args); 


I'm using version 2.2.1.
Any help?

Mad_Clog
Post #534
user avatar
Member
Date: 8:49 pm, Jun 7 2007
Posts: 176


Which version of php are you using?
What OS is the bot running on?

   

Back to PHP-IRC Bugs