Skip to content

Commit

Permalink
Merging changes from @intridea-east for showing name before message
Browse files Browse the repository at this point in the history
  • Loading branch information
jgable committed Jul 18, 2012
2 parents 2eb232c + 88a44a3 commit f4b0f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ class IrcBot extends Adapter
if user.room
console.log "#{to} <#{from}> #{message}"
else
unless message.indexOf(to) == 0
message = "#{to}: #{message}"
console.log "msg <#{from}> #{message}"

self.receive new TextMessage(user, message)
Expand Down

0 comments on commit f4b0f82

Please sign in to comment.