Skip to content

Commit

Permalink
Fix mode-related crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
codebutler committed Aug 30, 2013
1 parent 844a2e9 commit f00cb36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tapchat/channel_buffer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tapchat/channel_buffer.coffee
Expand Up @@ -23,7 +23,7 @@ ChatBuffer = require('./chat_buffer')
class ChannelMember
constructor: (nick, mode) ->
@nick = nick
@mode = mode
@mode = mode || ''

addMode: (mode) ->
@mode += mode unless @mode.indexOf(mode) >= 0
Expand Down

0 comments on commit f00cb36

Please sign in to comment.