diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/note.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/note.rb b/data/rbot/plugins/note.rb index 227beaa7..8b6e5272 100644 --- a/data/rbot/plugins/note.rb +++ b/data/rbot/plugins/note.rb @@ -14,12 +14,12 @@ class NotePlugin < Plugin def initialize super - return if @registry.nil? or @registry.length < 1 + return if @registry.length < 1 debug 'Checking registry for old-formatted notes...' n = 0 @registry.dup.each_key do |key| unless key == key.downcase - @registry[key.downcase] = @registry[key] + @registry[key.downcase] + @registry[key.downcase] = @registry[key] + (@registry[key.downcase] || []) @registry.delete key n += 1 end |