Closed nmelnick closed 6 years ago
Some work done in 6666534
unhandled callback exception on event (disconnect, AnyEvent::IRC::Client=HASH(0xd558778), EOF from server xxx): Attribute (handle) does not pass the type constraint because: Validation failed for 'AnyEvent::IRC::Client' with value undef at accessor Whatbot::IO::IRC::handle (defined at xxx/Whatbot/IO/IRC.pm line 18) line 4.
This is resolved, however, it seems the disconnect event doesn't fire sometimes. Need to see if this is a bug in the AnyEvent IRC module, or something in whatbot.
When disconnected by the IRC server (whether server shutdown, network blip, whatever), the reconnect hook fails with a bad number of parameters. It's entirely likely, also, that even with the right number of parameters, it still won't reconnect.