From 498a240496b65b897572e3fde3ef19b296e9c003 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 21 Dec 2011 10:11:29 +0100 Subject: tumblr: fix 'tumblr configure' regexps The way they were, specifying channel, email, password and group caused the password to be merged with the email and the group to become the password. --- data/rbot/plugins/tumblr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/tumblr.rb b/data/rbot/plugins/tumblr.rb index 755cbce8..57675ac4 100644 --- a/data/rbot/plugins/tumblr.rb +++ b/data/rbot/plugins/tumblr.rb @@ -188,5 +188,5 @@ plugin.map 'tumblr configure [:channel]', :action => :configuration plugin.map 'tumblr deconfigure [:channel]', :action => :deconfigure plugin.map 'tumblr configure [:channel] :email :pwd [:group]', :action => :configure, - :requirements => {:channel => Regexp::Irc::GEN_CHAN, :email => /.+@.+/, :group => /[A-Za-z-]+/} + :requirements => {:channel => Regexp::Irc::GEN_CHAN, :email => /\S+@\S+/, :group => /[A-Za-z-.]+/} -- cgit v1.2.3