Skip to content

Commit

Permalink
mpbot: handle multi-valued maintainers
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Feb 14, 2017
1 parent cbdbcf5 commit e360a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpbot/port.rb
Expand Up @@ -312,7 +312,7 @@ def heraldUser(where, nick)
email = @registry["email_#{nick}"]
if email
name = @registry["name_#{nick}"]
text = callPort("echo", "maintainer:(^|\s)#{email}($|\s)")
text = callPort("echo", "maintainer:[\s{^]#{email}[\s}$]")
ports = text.split(/\s+/)
portCount = ports.size
showMax = 4
Expand Down

0 comments on commit e360a86

Please sign in to comment.