summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/fish.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/fish.rb b/data/rbot/plugins/fish.rb
index defc872d..412b0d06 100644
--- a/data/rbot/plugins/fish.rb
+++ b/data/rbot/plugins/fish.rb
@@ -36,7 +36,8 @@ class BabelPlugin < Plugin
trans_pair = "#{trans_from}_#{trans_to}"
if (trans_text =~ /^http:\/\//) && (URI.parse(trans_text) rescue nil)
- return 'webpage translation is not currently supported'
+ m.reply 'webpage translation is not currently supported'
+ return
# TODO FIXME
url = BASEURL+'/translate_url' +
"?lp=#{trans_pair}&trurl=#{data_text}"