 			else if (/^(\.[0-9]+)$/.test message) and info.canHeart
 				commentId = message.replace ".", ""
 				console.log "IRC => postAddCommentHeart: ", user, commentId,
-					message, channelId, info.mixlrUserLogin, info.mixlrAuthSession
+					message, botDefaults.mixChan, info.mixlrUserLogin, info.mixlrAuthSession
 				postAddCommentHeart commentId, info
 			else
-				console.log "IRC => postComm: ", user, message, channelId,
+				console.log "IRC => postComm: ", user, message, botDefaults.mixChan,
 					info.mixlrUserLogin, info.mixlrAuthSession
-				postComm message, channelId, info
+				postComm message, botDefaults.mixChan, info
 
 sendHTTP = (httpHeader, data) ->
 	httpReq = http.request httpHeader, (res) ->

ircInitBot()

# Opens a websocket connection, given the params below
openSock channelId

# vim: set noet ts=4:

		"canHeart": true

# Creates the IRC client with given params
ircBot = new irc.Client botDefaults.ircServer, botDefaults.ircNick,
	password: null,
	userName: botDefaults.ircNick,
	realName: botDefaults.ircNick,
	port: 6667,
	debug: false,
	showErrors: false,
	autoRejoin: true,
	autoConnect: true,
	channels: [botDefaults.ircChannel],
	retryCount: null,
	retryDelay: 2000,
	secure: false,
