Commit Briefs
implement reconnection
bot now reconnects after a cooldown on socket creation error, falsy return value of recv, or server not responding with PONG after a set amount of time from a PING (sent after a set amount of time too). thanks #perl for showing me the recv() -> 0/undef trick :3
remove i/o side effects from most subroutines
subroutine msg was deleted too as it was used only once after the purification. now only logger, out, evasdrop and the toplevel main code is impure. i might try to optimize them further later. for now, we'll be implementing reconnection as i/o has been minimized
matabot.8: split lines that have more than one sentence
mdoc takes care of inter-sentence spacing. thanks, humm!