summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-01 18:06:54 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-01 18:06:54 +0200
commit57b2635111bdeb8bc4ce631714448e6d7486c39e (patch)
tree3576d403e8472b413013a3016393413479ea21cb /data/rbot
parentb19d693f1a195954870d4e7a7b3446459b1795e3 (diff)
poll plugin: message fixes
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/poll.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/data/rbot/plugins/poll.rb b/data/rbot/plugins/poll.rb
index 9f6047ff..c5027e42 100644
--- a/data/rbot/plugins/poll.rb
+++ b/data/rbot/plugins/poll.rb
@@ -109,14 +109,6 @@ class PollPlugin < Plugin
init_reg_entry :last_poll_id, 0
end
- MULTIPLIERS = {
- :seconds => 1,
- :minutes => 60,
- :hours => 60*60,
- :days => 24*60*60,
- :weeks => 7*24*60*60
- }
-
def authors_running_count(victim)
return @registry[:running].values.collect { |p|
if p.author == victim