summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2012-06-21 08:03:20 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2012-06-21 08:03:20 +0200
commitafb3499af63d7011d2054ac0a6ec4dd0124061be (patch)
treeaae69a35be5d231bf9a2eeed5ededcc99111f4c7 /data/rbot/plugins
parent95fab091ab9e2b42a6e8cfda72b231ef06971e39 (diff)
tumblr: escape the non-range dash in the group regex
Diffstat (limited to 'data/rbot/plugins')
-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 57675ac4..515dc479 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 => /\S+@\S+/, :group => /[A-Za-z-.]+/}
+ :requirements => {:channel => Regexp::Irc::GEN_CHAN, :email => /\S+@\S+/, :group => /[A-Za-z\-.]+/}