summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbot/plugins/autorejoin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot/plugins/autorejoin.rb b/rbot/plugins/autorejoin.rb
index b5dd1ee1..aba46507 100644
--- a/rbot/plugins/autorejoin.rb
+++ b/rbot/plugins/autorejoin.rb
@@ -4,7 +4,7 @@ class AutoRejoinPlugin < Plugin
end
def kick(m)
if m.address?
- @bot.timer.add_onceu(10, m) {|m|
+ @bot.timer.add_once(10, m) {|m|
@bot.join m.channel
@bot.say m.channel, @bot.lang.get("insult") % m.sourcenick
}