summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-06 09:00:04 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-06 09:00:04 +0200
commit0dc4cd15c81a3ae700b23d59550f1825af989b6a (patch)
tree174bfebfff8ae8613426c9a03d3cc485c8d42ca3 /data
parent9d54008e1c9164c23e48a1e3d2751491a5716264 (diff)
markov plugin: use symbol when deleting obsolete config key
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/markov.rb2
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