lib/potato/irc/events.rb in potato-0.0.10 vs lib/potato/irc/events.rb in potato-0.0.11

- old
+ new

@@ -71,10 +71,10 @@ # @param [IRC::Packet] pkt # @return [void] def on_pass pkt notice "Attempting to retrieve authtoken." begin - tok = Timeout::timeout(12) { + tok = Timeout::timeout(30) { Potato::DAmn::Token.get(@config.nick, pkt.args[0]) } rescue Timeout::Error notice "dAmn server is down. Try again later." @client.quit \ No newline at end of file