| Class | ::Bot::Auth::BotUser |
| In: |
lib/rbot/core/remote.rb
|
| Parent: | Object |
We extend the BotUser class to handle remote logins
A rather simple method to handle remote logins. Nothing special, just a password check.
# File lib/rbot/core/remote.rb, line 27
27: def remote_login(password)
28: if password == @password
29: debug "remote login for #{self.inspect} succeeded"
30: return true
31: else
32: return false
33: end
34: end