Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: How do I shut down a Bot::BasicBot?

by SuicideJunkie (Vicar)
on Jul 15, 2010 at 17:32 UTC ( [id://849810]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How do I shut down a Bot::BasicBot?
in thread How do I shut down a Bot::BasicBot?

I thought you said that it quit IRC correctly. Is that not the case, or did you replace the shutdown call with the exit?

Replies are listed 'Best First'.
Re^4: How do I shut down a Bot::BasicBot?
by myuserid7 (Scribe) on Jul 15, 2010 at 17:34 UTC
    If I do an exit 0 after calling shutdown() it doesn't send the quit message to IRC and just exits the script right away.
      and if I do an exit 0 from irc_disconnected_state then it says
      (in cleanup) Can't call method "post" on an undefined value at /us +r/local/lib/perl5/site_perl/5.10.0/Bot/BasicBot.pm line 1500 during g +lobal destruction

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://849810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-29 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found