summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/botuser.rb1
-rw-r--r--lib/rbot/messagemapper.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index d1d82ba5..952776d8 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -167,6 +167,7 @@ module Irc
attr_reader :username
attr_reader :password
attr_reader :netmasks
+ attr_reader :perm
attr_writer :login_by_mask
attr_writer :autologin
diff --git a/lib/rbot/messagemapper.rb b/lib/rbot/messagemapper.rb
index 193804fe..fcec76df 100644
--- a/lib/rbot/messagemapper.rb
+++ b/lib/rbot/messagemapper.rb
@@ -189,7 +189,7 @@ module Irc
if hash.has_key?(:auth_path)
extra = hash[:auth_path]
if extra.sub!(/^:/, "")
- pre += post
+ pre += "::" + post
post = nil
end
if extra.sub!(/:$/, "")