Skip to content

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Crim committed Feb 25, 2015
1 parent 7840c57 commit 25e1823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector.coffee
Expand Up @@ -438,7 +438,7 @@ onStanza = (stanza) ->
@emit "message", fromChannel, fromNick, body
else if subject
# subject stanza
@emit "topic", fromChannel, fromNick, body
@emit "topic", fromChannel, fromNick, subject
else
# Skip parsing other types and return
return
Expand Down

0 comments on commit 25e1823

Please sign in to comment.