Skip to content

Commit

Permalink
Merge pull request #9 from jpve/fix-compiler-regex-warning
Browse files Browse the repository at this point in the history
CommandHandler.pm: Fix compiler regex warning.
  • Loading branch information
Timbus committed Jun 13, 2015
2 parents fb2cb3f + e16f45e commit 2992a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Net/IRC/CommandHandler.pm
Expand Up @@ -17,7 +17,7 @@ role Net::IRC::CommandHandler {
$ev.what ~~ token {
# Intro
^
[ \s* $<nick>=("$ev.state()<nick>") [ <[':' ',']> | \s ] ]? \s*
[ \s* $<nick>=("$ev.state()<nick>") [ ':' | ',' | \s ] ]? \s*
[ $<prefix>=("$handler.prefix()") \s* ]?

# Actual command (and optional params)
Expand Down

0 comments on commit 2992a91

Please sign in to comment.