--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: login_by_mask
  rw: W
- !ruby/object:RI::Attribute 
  comment: 
  name: netmasks
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: password
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: perm
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: perm_temp
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: transient
  rw: W
- !ruby/object:RI::Attribute 
  comment: 
  name: username
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: sanitize_username
comment: 
- !ruby/struct:SM::Flow::P 
  body: "This is the basic class for bot users: they have a username, a password, a list of netmasks to match against, and a list of permissions. A BotUser can be marked as 'transient', usually meaning it's not intended for permanent storage. Transient BotUsers have lower priority than nontransient ones for autologin purposes."
- !ruby/struct:SM::Flow::P 
  body: "To initialize a BotUser, you pass a <em>username</em> and an optional hash of options. Currently, only two options are recognized:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "transient:"
    body: true or false, determines if the BotUser is transient or permanent (default is false, permanent BotUser).
  - !ruby/struct:SM::Flow::P 
    body: Transient BotUsers are initialized by prepending an asterisk (*) to the username, and appending a sanitized version of the object_id. The username can be empty. A random password is generated.
  - !ruby/struct:SM::Flow::P 
    body: Permanent Botusers need the username as is, and no password is generated.
  - !ruby/struct:SM::Flow::LI 
    label: "masks:"
    body: an array of Netmasks to initialize the NetmaskList. This list is used as-is for permanent BotUsers.
  - !ruby/struct:SM::Flow::P 
    body: Transient BotUsers will alter the list elements which are Irc::User by globbing the nick and any initial nonletter part of the ident.
  - !ruby/struct:SM::Flow::P 
    body: The masks option is optional for permanent BotUsers, but obligatory (non-empty) for transients.
  type: :NOTE
constants: []

full_name: Irc::Bot::Auth::BotUser
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: add_netmask
- !ruby/object:RI::MethodSummary 
  name: autologin=
- !ruby/object:RI::MethodSummary 
  name: autologin?
- !ruby/object:RI::MethodSummary 
  name: default?
- !ruby/object:RI::MethodSummary 
  name: delete_netmask
- !ruby/object:RI::MethodSummary 
  name: from_hash
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: knows?
- !ruby/object:RI::MethodSummary 
  name: login
- !ruby/object:RI::MethodSummary 
  name: login_by_mask?
- !ruby/object:RI::MethodSummary 
  name: make_permanent
- !ruby/object:RI::MethodSummary 
  name: owner?
- !ruby/object:RI::MethodSummary 
  name: password=
- !ruby/object:RI::MethodSummary 
  name: permanent=
- !ruby/object:RI::MethodSummary 
  name: permanent?
- !ruby/object:RI::MethodSummary 
  name: permit?
- !ruby/object:RI::MethodSummary 
  name: reset_autologin
- !ruby/object:RI::MethodSummary 
  name: reset_login_by_mask
- !ruby/object:RI::MethodSummary 
  name: reset_netmasks
- !ruby/object:RI::MethodSummary 
  name: reset_password
- !ruby/object:RI::MethodSummary 
  name: reset_permission
- !ruby/object:RI::MethodSummary 
  name: reset_temp_permission
- !ruby/object:RI::MethodSummary 
  name: set_permission
- !ruby/object:RI::MethodSummary 
  name: set_temp_permission
- !ruby/object:RI::MethodSummary 
  name: to_hash
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: transient?
name: BotUser
superclass: Object
