lib/torrific.rb in torrific-0.0.2 vs lib/torrific.rb in torrific-0.9.0
- old
+ new
@@ -10,9 +10,10 @@
super options
end
# changes the tor identity
def change_ip
+ self.connect
self.authenticate self.password
send_command(:signal, 'NEWNYM')
self.close
end
end
\ No newline at end of file