Permalink
Browse files

Call the EventEmitter initalizer

  • Loading branch information...
1 parent 90e4e24 commit 17aca201120c6292aed9c68eb71f47ea1312988a @aredridel committed Jul 9, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/ircd/connection.js
View
@@ -25,6 +25,8 @@ function checkOrigin(message, user) {
}
function Connection(socket, server) {
+ events.EventEmitter.call(this)
+
var handleLine = function handleLine(l) {
this.emit('log.debug', 'IRC< ' + l)

0 comments on commit 17aca20

Please sign in to comment.