diff options
author | Matthias H <apoc@sixserv.org> | 2014-02-20 03:12:59 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2014-02-20 03:12:59 +0100 |
commit | 5db953242b260c8d789911b8651911dab5868984 (patch) | |
tree | 8edde96334f6958403d894f47bea87cf859767af /data/rbot/plugins | |
parent | 80c3136af0edf8a115a0c655530b42378b6c1434 (diff) |
[plugin] insult, small fix
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/insult.rb | 1 |
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 |