]> git.donarmstrong.com Git - infobot.git/blobdiff - src/DynaConfig.pl
- added top3 irctextcounter stats
[infobot.git] / src / DynaConfig.pl
index e1acb4d3e3e46e351a344bf77d3a43751c5b5312..9fa01ddd57fe6ca88eb9ad7a21c1a081c28b4600 100644 (file)
@@ -15,6 +15,11 @@ if (&IsParam("useStrict")) { use strict; }
 sub readUserFile {
     my $f = "$bot_misc_dir/blootbot.users";
 
+    if (! -f $f) {
+       &DEBUG("userfile not found; new fresh run detected.");
+       return;
+    }
+
     if ( -f $f and -f "$f~") {
        my $s1 = -s $f;
        my $s2 = -s "$f~";