summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/keywords.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index dc7171ed..dc8d4ac6 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -342,6 +342,10 @@ class Keywords < Plugin
m.reply @bot.lang.get("dunno_about_X") % key
return
end
+ if target == @bot.nick
+ m.reply "very funny, trying to make me tell something to myself"
+ return
+ end
response = kw.to_s
response.gsub!(/<who>/, m.sourcenick)