coffeemaker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,9 @@ module Coffeemaker
30
30
  @logger.debug "received #{data}"
31
31
 
32
32
  case msg.command
33
+ when :'001'
34
+ on_connect.call if on_connect
35
+ succeed
33
36
  when :ping
34
37
  send_command :pong
35
38
  when :privmsg, :topic, :part, :join
@@ -75,11 +78,6 @@ module Coffeemaker
75
78
  _send_command :user, [@user] * 4
76
79
  _send_command :pass, @pass if @pass
77
80
  _send_command :nick, @nick
78
-
79
- EM.add_timer(1) do
80
- on_connect.call if on_connect
81
- succeed
82
- end
83
81
  end
84
82
  end
85
83
  end
@@ -1,3 +1,3 @@
1
1
  module Coffeemaker
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffeemaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: