cinch-identify 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -40,7 +40,9 @@ the insecure _auth_ command on QuakeNet and `:secure_quakenet` or
40
40
  KreyNet.
41
41
 
42
42
  ### :username
43
- The username to use for authentication.
43
+ The username to use for authentication. Do not set this when using
44
+ NickServ on a network that only supports identifying as the current
45
+ nick (e.g. dancer-ircd.)
44
46
 
45
47
  ### :password
46
48
  The password to use for authentication
@@ -49,7 +49,11 @@ module Cinch
49
49
  end
50
50
 
51
51
  def identify_nickserv
52
- User("nickserv").send("identify %s %s" % [config[:username], config[:password]])
52
+ if config[:username]
53
+ User("nickserv").send("identify %s %s" % [config[:username], config[:password]])
54
+ else
55
+ User("nickserv").send("identify %s" % [config[:password]])
56
+ end
53
57
  end
54
58
 
55
59
  def identify_kreynet
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch-identify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-24 00:00:00.000000000 Z
12
+ date: 2012-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cinch
16
- requirement: &8702560 !ruby/object:Gem::Requirement
16
+ requirement: &21230640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *8702560
24
+ version_requirements: *21230640
25
25
  description: A plugin allowing Cinch bots to automatically identify with services.
26
26
  Supported are NickServ, QuakeNet and KreyNet.
27
27
  email: