summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2014-02-20 03:12:59 +0100
committerMatthias H <apoc@sixserv.org>2014-02-20 03:12:59 +0100
commit5db953242b260c8d789911b8651911dab5868984 (patch)
tree8edde96334f6958403d894f47bea87cf859767af
parent80c3136af0edf8a115a0c655530b42378b6c1434 (diff)
[plugin] insult, small fix
-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