unibanner 0.0.19 → 0.0.20

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: '07458cfdac8bbd0c767858c6b0f9695d974947647cf62369c736b1370d142731'
4
- data.tar.gz: 89623a88006ab7effe400bf5c42363d947c80c5e57767ccbdfbf5ce18f6a19dd
3
+ metadata.gz: aab93c70822d3ba3a6f5c65a21566ff6e213073f2232b8ce65d88f85d9df85d3
4
+ data.tar.gz: dbd23b4bbbd7b4fa20da34d39231996225df8511ac21d055ce3726969b856502
5
5
  SHA512:
6
- metadata.gz: 67dd9fa53e89e0057c53fc016b9dc4fff8380d34a073d9d3d8facfd637d196933b09729503d4bc681de985437029b44e6f97a50ea9929814173b4b9a79ad1268
7
- data.tar.gz: d7697afe1ee0d328ea405918cd4add76679709eae84aebdf2dc25daff639afb60df33977ab06eb3b5f9269c2d97730fe6933cfe9315974c28505923456f93139
6
+ metadata.gz: 33ba934ad74a3f8b900027289ffdaf044a1e7d6f6c9066dc76804029306f911e20c7d945f38952fc9fd0698e82e191cc7ab2ab666ed7390f62316c9ee8ee7e70
7
+ data.tar.gz: ef9731493afec6d229c693edc68b6f0bf4a825622cdc8899de4711a1af3eb598cfab62fd7666f496d5de7f711b261a5182ae2cff902cba769fb708488d0a4684
@@ -141,11 +141,11 @@ module Unibanner
141
141
  # :kojo.electrocode.net 340 unibanner :ephemer0l_=+~ephemer0l_@196.27.72.156
142
142
 
143
143
  if line.split[1] == "340"
144
- user_ip = line.split[3].gsub(/:.*@(.*)/, '\1')
144
+ user_ip = line.split[3].gsub(/.*@(.*)/, '\1')
145
145
  @log.info "Got #{user_ip} back from /USERIP. Submitting to blacklist."
146
146
  reply = Unibanner::Functions.send2BL(user_ip)
147
147
  @log.debug "send2BL(#{user_ip}) returned '#{reply}'"
148
- @irc.zline(user_ip)
148
+ @irc.zline("BLACKLISTED[5,6]: fngate spam / unicode spam", "#{user_ip} 7d")
149
149
  end
150
150
  if line.split[1] == "433"
151
151
  @log.error "#{self.network}: 433, Nickname in use, can't connect"
@@ -1,3 +1,3 @@
1
1
  module Unibanner
2
- VERSION = '0.0.19'
2
+ VERSION = '0.0.20'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unibanner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer