summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:19:54 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-07-16 01:19:54 +0000
commitb59c4293feddf796d2306dd4b69cb92faff8a802 (patch)
tree8921787faaf2951b2ec57819b136a5fb5b2c09a2
parenta08b4def5c276df964ae2a8d9c3f661593d757e6 (diff)
typo
-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
}