summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/core/auth.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb
index 81b5d694..5902056e 100644
--- a/lib/rbot/core/auth.rb
+++ b/lib/rbot/core/auth.rb
@@ -495,7 +495,10 @@ class AuthModule < CoreBotModule
copying = m.message.split[1] == "copy"
begin
if copying
- h = buser_hash[source].dup
+ h = {}
+ buser_hash[source].each { |k, val|
+ h[k] = val.dup
+ }
else
h = buser_hash[source]
end