summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/tumblr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/tumblr.rb')
-rw-r--r--data/rbot/plugins/tumblr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/tumblr.rb b/data/rbot/plugins/tumblr.rb
index af4bd2ce..55489743 100644
--- a/data/rbot/plugins/tumblr.rb
+++ b/data/rbot/plugins/tumblr.rb
@@ -116,7 +116,7 @@ class TumblrPlugin < Plugin
if @registry.key? channel
m.reply _("%{chan} already has credentials configured" % { :chan => channel })
else
- group = params[:group] || channel[1..-1]
+ group = params[:group] || Channel.npname(channel)
group << ".tumblr.com" unless group.match(/\.tumblr\.com/)
@registry[channel] = {
:email => CGI.escape(params[:email]),