Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Revert "ignore a ':' after the bot name in roles"
Browse files Browse the repository at this point in the history
This reverts commit 9eed88e.
  • Loading branch information
stuartf committed Apr 6, 2012
1 parent f67d793 commit 79c6e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/roles.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = (robot) ->
else
msg.send "#{name}? Never heard of 'em"

robot.respond /:?@?([\w .-_]+) is (["'\w: -_]+)[.!]*$/i, (msg) ->
robot.respond /@?([\w .-_]+) is (["'\w: -_]+)[.!]*$/i, (msg) ->
name = msg.match[1]
newRole = msg.match[2].trim()

Expand All @@ -58,7 +58,7 @@ module.exports = (robot) ->
else
msg.send "I don't know anything about #{name}."

robot.respond /:?@?([\w .-_]+) is not (["'\w: -_]+)[.!]*$/i, (msg) ->
robot.respond /@?([\w .-_]+) is not (["'\w: -_]+)[.!]*$/i, (msg) ->
name = msg.match[1]
newRole = msg.match[2].trim()

Expand Down

0 comments on commit 79c6e94

Please sign in to comment.