summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/insult.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/insult.rb b/data/rbot/plugins/insult.rb
index 993450a5..c79170c4 100644
--- a/data/rbot/plugins/insult.rb
+++ b/data/rbot/plugins/insult.rb
@@ -234,6 +234,7 @@ class InsultPlugin < Plugin
else
msgto = m.channel
end
+ msgto = m.source.to_s if not msgto
insult = generate_insult
@bot.say msgto, prefix + insult + suffix