summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-06 16:11:33 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-06 16:11:33 +0000
commit03ca80de3d9c8ad38fe8072be811774cb9662d2b (patch)
tree3c9300b7b10fffbf44eff4a24174fcd449cec7b3 /lib/rbot
parent2bf33b51f78513db72a73791dc94e54b6274ef3f (diff)
Forgot the kernel fixes for previous commit
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!(/:$/, "")