summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/keywords.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index 38a3ff43..d440e6e6 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -445,7 +445,9 @@ class Keywords < Plugin
def keyword_forget(m, key)
if(@keywords.has_key?(key))
@keywords.delete(key)
- @bot.okay m.replyto
+ m.okay
+ else
+ m.reply _("couldn't find keyword %{key}" % { :key => key })
end
end