kag-gather 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/kag/gather.rb +2 -10
  2. data/lib/kag/version.rb +1 -1
  3. metadata +1 -1
data/lib/kag/gather.rb CHANGED
@@ -241,11 +241,7 @@ module KAG
241
241
  if is_admin(m.user)
242
242
  arg = arg.split(" ")
243
243
  arg.each do |nick|
244
- if m.channel.has_user?(nick)
245
- add_user_to_queue(m,nick)
246
- else
247
- reply m,"User #{nick} is not in this channel!"
248
- end
244
+ add_user_to_queue(m,nick)
249
245
  end
250
246
  end
251
247
  end
@@ -255,11 +251,7 @@ module KAG
255
251
  if is_admin(m.user)
256
252
  arg = arg.split(" ")
257
253
  arg.each do |nick|
258
- if m.channel.has_user?(nick)
259
- add_user_to_queue(m,nick,false)
260
- else
261
- reply m,"User #{nick} is not in this channel!"
262
- end
254
+ add_user_to_queue(m,nick,false)
263
255
  end
264
256
  end
265
257
  end
data/lib/kag/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module KAG
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  def self.version
4
4
  VERSION
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kag-gather
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: