SHARE
TWEET

Untitled

marlosgama Apr 3rd, 2020 320 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   def multi_accounts?(user, ip)
  2.     result = @clients.find { |client| client && client.user.casecmp(user).zero? }
  3.     if result && result.ip == ip
  4.       result.close_connection
  5.       result = false
  6.     end
  7.     result
  8.   end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top