]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/tumblr.rb
webhook: typo preventing unwatch
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / tumblr.rb
index 755cbce85c909bee6aa657590ca87b6c3692dcf0..515dc479026e26289ffcf5d1c768eeffe741b172 100644 (file)
@@ -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\-.]+/}