]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/IrcHelpers.pl
- berkeley dbm support now works! thanks to tim riker.
[infobot.git] / src / IRC / IrcHelpers.pl
index 2ce1acb91259eefee97eb714fd6b1511ee6b5ae9..53d3db7f71b19895f7b43d2b44ce607ba15c7a8f 100644 (file)
@@ -244,7 +244,7 @@ sub hookMsg {
        # better to ignore an extra message than to allow one to get
        # through, although it would be better to go through ignore
        # checking again.
-       if (time() - $cache{ignoreCheckTime} > 60) {
+       if (time() - ($cache{ignoreCheckTime} || 0) > 60) {
            &ignoreCheck();
        }