Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
fix join_handler on signals
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis authored and dominikh committed Jun 27, 2012
1 parent 7ed6e88 commit 226f500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cinch/bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def start(plugins = true)
@join_handler = join_handler = on(@config.delay_joins) {
join_handler.unregister
join_lambda.call
}.first
}
else
@join_timer = Timer.new(self, interval: @config.delay_joins, shots: 1) {
join_lambda.call
Expand Down

0 comments on commit 226f500

Please sign in to comment.