Skip to content
This repository has been archived by the owner on Jun 12, 2019. It is now read-only.

Commit

Permalink
Update for Jerk's change to source.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltwofish committed Apr 3, 2012
1 parent 8db5e2c commit 7055476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Log.prototype.logHandler = function (msg) {
var date = new Date();
var entry = [date.toFormat('HH24:MI:SS'), msg.user, msg.text].join(' : ') + '\n';
// Strip leading #
var channel = msg.source.replace(/^#+/, '');
var channel = String(msg.source).replace(/^#+/, '');

var channel_path = path.join(logs, channel);

Expand Down

0 comments on commit 7055476

Please sign in to comment.