[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /list command (FIXED)
Thanks for the reply, and you hit the nail right on
the head. I had a Perl Script called list-search.pl
in the xchat folder and that was causing the problem.
I don't remember what that script was suspose to do,
so I removed it and now my /list command works.
Thanks again
Don
--- Hanno Hecker <iranitev@gmx.net> wrote:
> On Sun, Mar 24, 2002 at 06:21:10PM -0800, D. wrote:
> > I'm using Debian Testing with [X]Chat 1.8.8 and
> the
> > 2.4.17 kernel.
> > Did I miss something along the way? I get the
> > following error when I try and get a list in the
> > server window Perl error: Undefined subroutine
> > &main::cmd_list called.
> > Any help that would show me the error of my
> way's
> > would be appreciated.
> You're using a script, which installs a /LIST
> handler, but
> the sub which should be called is not there or in
> another
> (perl-)package. If the script says something like
>
> package XChat::ListCmd;
> IRC::register("foo.pl", 0.1, "", "");
> IRC::add_command_handler("LIST", "cmd_list");
>
> xchat tries to call main::cmd_list and not
> XChat::ListCmd::cmd_list
> as intended. To fix this, replace the "cmd_list" in
> the
> add_command_handler() line with
> "XChat::ListCmd::cmd_list" <-- of course
> with XChat::ListCmd substituted by the actual
> package name
>
> hth,
> Hanno
> --
> Need "online" [x]chat help? /j #xchat on IRCNet ;-)
> --
> XChat-discuss: mailing list for XChat users
> Archive:
> http://mail.nl.linux.org/xchat-discuss/
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/