Class ::Bot::Auth::BotUser
In: lib/rbot/core/remote.rb
Parent: Object
User HTTPResponse BasicUserMessage Bot\n[lib/rbot/core/remote.rb\nlib/rbot/core/utils/extends.rb\nlib/rbot/core/utils/filters.rb\nlib/rbot/core/utils/wordlist.rb] HttpUtil lib/rbot/core/userdata.rb lib/rbot/core/utils/httputil.rb lib/rbot/core/utils/extends.rb lib/rbot/core/remote.rb lib/rbot/core/utils/httputil.rb ParseTime Utils (null) dot/m_15_0.png

We extend the BotUser class to handle remote logins

Methods

Public Instance methods

A rather simple method to handle remote logins. Nothing special, just a password check.

[Source]

    # 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

[Validate]