diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/maskdb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/maskdb.rb b/lib/rbot/maskdb.rb index f15a442c..435693ec 100644 --- a/lib/rbot/maskdb.rb +++ b/lib/rbot/maskdb.rb @@ -11,7 +11,7 @@ module Irc def add(val, *prefs) str = prefs.shift or raise 'empty prefs' - @pre = str if @chi.empty? + @pre = str.dup if @chi.empty? n = 0 @pre.size.times do |