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 +4 -4
- data/lib/irclb/ssl_server.rb +3 -1
- data/lib/irclb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 556038e72f2cb977b3bd9aebe3230377ab5fcb7f5417bd86986a4fbe7d969a06
|
4
|
+
data.tar.gz: 536c0f2c070d92fe305996337bc718dbf3bb986612da84aaa93b5cd480b2fa0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb727cb2766c37190920999b7384b45fa21c8d887c6d52b34ccb75fc6e0b47d3384b0ea1058361680910a40e931d3c825fa2202ce44bfd0c8d5dbda0865b0137
|
7
|
+
data.tar.gz: f002080801cd4007dbc05dbc12b6382b61336eaca66690a81300ffa233383d622a4f15a8c21a0d3a07f51ac69d7bc1fd1ab41758423cce97e2150258a63b7ac0
|
data/lib/irclb/ssl_server.rb
CHANGED
@@ -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
|
-
|
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