summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/shortenurls.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/shortenurls.rb b/data/rbot/plugins/shortenurls.rb
index 120d40d0..a7577e1b 100644
--- a/data/rbot/plugins/shortenurls.rb
+++ b/data/rbot/plugins/shortenurls.rb
@@ -55,7 +55,7 @@ class ShortenURLs < Plugin
return nil
end
- service = params[:service].to_sym || m.plugin.to_sym
+ service = (params[:service] || m.plugin).to_sym
service = :rubyurl if service == :shorturl
tried = []