]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
typo
authorTom Gilbert <tom@linuxbrit.co.uk>
Sat, 16 Jul 2005 01:19:54 +0000 (01:19 +0000)
committerTom Gilbert <tom@linuxbrit.co.uk>
Sat, 16 Jul 2005 01:19:54 +0000 (01:19 +0000)
rbot/plugins/autorejoin.rb

index b5dd1ee105013d2b897775e1fd25231a01679f79..aba46507b20e6c68b3ef3e6eb1411f6d8c506fed 100644 (file)
@@ -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
       }