cinch-test 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Cinch
2
2
  module Test
3
3
  def self.version
4
- '0.0.1'
4
+ '0.0.2'
5
5
  end
6
6
  end
7
7
  end
data/lib/cinch/test.rb CHANGED
@@ -41,9 +41,8 @@ module Cinch
41
41
  # override the message-parsing stuff
42
42
  super(nil, bot)
43
43
  @message = msg
44
- @user = opts.delete(:user) {
45
- @bot.user_list.find_ensured(nil, 'test', nil)
46
- }
44
+ nick = opts.delete(:nick) { 'test' }
45
+ @bot.user_list.find_ensured(nil, nick, nil)
47
46
 
48
47
  @channel = opts.delete(:channel) { nil }
49
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: