summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/note.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/note.rb')
-rw-r--r--data/rbot/plugins/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/note.rb b/data/rbot/plugins/note.rb
index 59e1e6a0..e0a7be29 100644
--- a/data/rbot/plugins/note.rb
+++ b/data/rbot/plugins/note.rb
@@ -21,7 +21,7 @@ class NotePlugin < Plugin
return if @registry.length < 1
debug 'Checking registry for old-formatted notes...'
n = 0
- @registry.dup.each_key do |key|
+ @registry.keys.each do |key|
unless key == key.downcase
@registry[key.downcase] = @registry[key] + (@registry[key.downcase] || [])
@registry.delete key