diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2016-04-25 14:54:07 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2016-04-25 14:54:07 +0200 |
commit | a838fd9856244f65075c22aee3e3659fc09df86a (patch) | |
tree | 82ba81515f28d6fd7b23db1c76e7fe4f5f6b29ac | |
parent | 9f1a075e7bc85b119392e255dcac3219e71f85ac (diff) |
do not count bots for reading the poll
-rw-r--r-- | dudle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ class Dudle if is_poll? # log last read acces manually (no need to grep server logfiles) - File.open("last_read_access","w").close + File.open("last_read_access","w").close unless @cgi.user_agent =~ /bot/i @basedir = ".." inittabs @table = YAML::load(VCS.cat(self.revision, "data.yaml")) |