irclb 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b99506ea5a619842e4d1d9ade839fefdada38493c3d8af91a6eae7d4bfe694
4
- data.tar.gz: 3fc80c689db7d3ccb00fd164152709d46220ac49fe75cadf2bc97dd75ab7bf30
3
+ metadata.gz: 556038e72f2cb977b3bd9aebe3230377ab5fcb7f5417bd86986a4fbe7d969a06
4
+ data.tar.gz: 536c0f2c070d92fe305996337bc718dbf3bb986612da84aaa93b5cd480b2fa0c
5
5
  SHA512:
6
- metadata.gz: '082e5c76148bcee618d2fb301b2130eaab38095f67786fcbf318a3b42ee16c8cc42de00163c424f26f9f7d8ba435ce3108a762c60a027d2d984114af79ca56ff'
7
- data.tar.gz: 1816bb6935b0ffd0c8f70b51530cd82fa8a82fdc382b3857a523fc30e67dd149fc9655c09811aaf3c284621e2e9d65cd9bf0542d83add50f1d63217152feb591
6
+ metadata.gz: eb727cb2766c37190920999b7384b45fa21c8d887c6d52b34ccb75fc6e0b47d3384b0ea1058361680910a40e931d3c825fa2202ce44bfd0c8d5dbda0865b0137
7
+ data.tar.gz: f002080801cd4007dbc05dbc12b6382b61336eaca66690a81300ffa233383d622a4f15a8c21a0d3a07f51ac69d7bc1fd1ab41758423cce97e2150258a63b7ac0
@@ -20,7 +20,9 @@ module IrcLB
20
20
  def dont_block
21
21
  loop do
22
22
  Thread.start(@ssl_sock.accept) do |client|
23
- until client.gets =~ /^USER .*/
23
+ puts client
24
+ case client.gets
25
+ when /^USER .*/
24
26
  client.puts ":irc.lb NOTICE * :This server is running IRClb, an IRC load balancer\r\n"
25
27
  client.puts ":irc.lb NOTICE * :IRClb is written by Ken Spencer / iota\r\n"
26
28
  client.puts ":irc.lb NOTICE * :He has a website at https://iotaspencer.me\r\n"
data/lib/irclb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IrcLB
4
- VERSION = '0.0.11'
4
+ VERSION = '0.0.12'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irclb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - IotaSpencer