summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/markov.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/markov.rb')
-rw-r--r--data/rbot/plugins/markov.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/markov.rb b/data/rbot/plugins/markov.rb
index 089d939d..dd66ae1d 100644
--- a/data/rbot/plugins/markov.rb
+++ b/data/rbot/plugins/markov.rb
@@ -197,7 +197,7 @@ class MarkovPlugin < Plugin
def chat(m, params)
line = generate_string(params[:seed1], params[:seed2])
if line != "#{params[:seed1]} #{params[:seed2]}"
- m.reply line
+ m.reply line
else
m.reply "I can't :("
end
@@ -221,7 +221,7 @@ class MarkovPlugin < Plugin
m.reply "I can't :("
end
end
-
+
def message(m)
return if ignore? m
@@ -231,7 +231,7 @@ class MarkovPlugin < Plugin
if m.action?
message = "#{m.sourcenick} #{message}"
end
-
+
@learning_queue.push message
random_markov(m, message) unless m.replied?
end