diff options
-rw-r--r-- | lib/rbot/botuser.rb | 1 | ||||
-rw-r--r-- | lib/rbot/messagemapper.rb | 2 |
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!(/:$/, "") |