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 +4 -4
- data/lib/unibanner/bot_class.rb +2 -2
- data/lib/unibanner/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: aab93c70822d3ba3a6f5c65a21566ff6e213073f2232b8ce65d88f85d9df85d3
|
4
|
+
data.tar.gz: dbd23b4bbbd7b4fa20da34d39231996225df8511ac21d055ce3726969b856502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33ba934ad74a3f8b900027289ffdaf044a1e7d6f6c9066dc76804029306f911e20c7d945f38952fc9fd0698e82e191cc7ab2ab666ed7390f62316c9ee8ee7e70
|
7
|
+
data.tar.gz: ef9731493afec6d229c693edc68b6f0bf4a825622cdc8899de4711a1af3eb598cfab62fd7666f496d5de7f711b261a5182ae2cff902cba769fb708488d0a4684
|
data/lib/unibanner/bot_class.rb
CHANGED
@@ -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(
|
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"
|
data/lib/unibanner/version.rb
CHANGED