Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

NO U

  • Loading branch information...
commit 278493ee3ddb4d049e9219a197beab2421110c0e 1 parent f344f3a
Gianni Chiappetta authored December 14, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  protobot.js
2  protobot.js
@@ -179,7 +179,7 @@ bot = jerk( function( j ) {
179 179
   })
180 180
 
181 181
   // Redis
182  
-  j.watch_for( /^(?:david_mark|protobot|bot\-t)[,:]? (\w+) is[,:]? (.+)$/, function( message ) {
  182
+  j.watch_for( /^(?:david_mark|protobot|bot\-t)[,:]? ([-_.:|\/\\\w]+) is[,:]? (.+)$/, function( message ) {
183 183
     rclient.hmset( 'triggers', message.match_data[1], message.match_data[2], function( err ) {
184 184
       if ( err )
185 185
         message.say( message.user + ': Oops, there was an error: ' + err )

0 notes on commit 278493e

Please sign in to comment.
Something went wrong with that request. Please try again.