]> git.donarmstrong.com Git - infobot.git/blobdiff - src/core.pl
- bot stats: "blah has blah... is ranked xx/yy (zz percentile)"
[infobot.git] / src / core.pl
index 4bda8023d257a06ff050472fe116d045755a382d..c8696653f0f3c18af99c80e5310a26a20bea695c 100644 (file)
@@ -483,6 +483,7 @@ sub restart {
        if (!$conn->connected and time - $msgtime > 900) {
            &status("reconnecting because of uncaught disconnect \@ ".scalar(localtime) );
 ###        $irc->start;
+           &clearIRCVars();
            $conn->connect();
 ###        return;
        }