Skip to content

Commit

Permalink
Don't duplicate group names unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed May 10, 2012
1 parent d7f0a6c commit b6e2316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"Jerry Jalava", "Jerry Jalava",
"Ryan Shaw" "Ryan Shaw"
], ],
"version": "0.0.6", "version": "0.0.8",
"licenses": [{ "licenses": [{
"type": "MIT", "type": "MIT",
"url": "https://github.com/bergie/noflo/raw/master/LICENSE" "url": "https://github.com/bergie/noflo/raw/master/LICENSE"
Expand Down
1 change: 1 addition & 0 deletions src/components/MQ/SendMessage.coffee
Expand Up @@ -14,6 +14,7 @@ class SendMessage extends QueueComponent
mq = @getMQ() mq = @getMQ()


@inPorts.in.on 'begingroup', (group) => @inPorts.in.on 'begingroup', (group) =>
return unless groups.indexOf(group) is -1
groups.push group groups.push group


@inPorts.in.on 'data', (data) => @inPorts.in.on 'data', (data) =>
Expand Down

0 comments on commit b6e2316

Please sign in to comment.