Permalink
Browse files

Merge branch 'master' of github.com:cinchrb/cinch

  • Loading branch information...
2 parents f1f672a + e6ddc8e commit 9f408b1457ef3ee5c25130c3127482a228b95401 @dominikh dominikh committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/plugins/own_events.rb
@@ -8,7 +8,7 @@ def initialize(bot)
def start
while true
sleep 5 # pretend that we are waiting for some kind of entropy
- @bot.dispatch(:random_number, nil, Kernel.rand)
+ @bot.handlers.dispatch(:random_number, nil, Kernel.rand)
end
end
end

0 comments on commit 9f408b1

Please sign in to comment.