diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-06 09:00:04 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-06 09:00:04 +0200 |
commit | 0dc4cd15c81a3ae700b23d59550f1825af989b6a (patch) | |
tree | 174bfebfff8ae8613426c9a03d3cc485c8d42ca3 /data | |
parent | 9d54008e1c9164c23e48a1e3d2751491a5716264 (diff) |
markov plugin: use symbol when deleting obsolete config key
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/markov.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb index 51fa212f..bae70263 100644 --- a/data/rbot/plugins/markov.rb +++ b/data/rbot/plugins/markov.rb @@ -35,7 +35,7 @@ class MarkovPlugin < Plugin if @bot.config['markov.ignore_users'] debug "moving markov.ignore_users to markov.ignore" @bot.config['markov.ignore'] = @bot.config['markov.ignore_users'].dup - @bot.config.delete('markov.ignore_users') + @bot.config.delete('markov.ignore_users'.to_sym) end @learning_queue = Queue.new @learning_thread = Thread.new do |