Class: Irc::Bot::Auth::BotOwnerClass
- Includes:
- Singleton
- Defined in:
- lib/rbot/botuser.rb
Overview
This is the BotOwner: he can do everything
Instance Attribute Summary
Attributes inherited from BotUser
#login_by_mask, #netmasks, #password, #perm, #perm_temp, #transient, #username
Instance Method Summary collapse
-
#initialize ⇒ BotOwnerClass
constructor
A new instance of BotOwnerClass.
- #permit?(cmd, chan = nil) ⇒ Boolean
Methods inherited from BotUser
#add_netmask, #autologin=, #autologin?, #default?, #delete_netmask, #from_hash, #inspect, #knows?, #login, #login_by_mask?, #make_permanent, #owner?, #permanent=, #permanent?, #remote_login, #reset_autologin, #reset_login_by_mask, #reset_netmasks, #reset_password, #reset_permission, #reset_temp_permission, sanitize_username, #set_permission, #set_temp_permission, #to_hash, #to_s, #transient?
Constructor Details
#initialize ⇒ BotOwnerClass
Returns a new instance of BotOwnerClass.
615 616 617 618 619 |
# File 'lib/rbot/botuser.rb', line 615 def initialize @login_by_mask = false @autologin = true super("owner") end |
Instance Method Details
#permit?(cmd, chan = nil) ⇒ Boolean
621 622 623 |
# File 'lib/rbot/botuser.rb', line 621 def permit?(cmd, chan=nil) return true end |