From d7c35911e87a4d6c008aea33785d797889d562a0 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 26 Nov 2015 22:09:40 -0700 Subject: [PATCH] * Some DOOR32 updates --- core/dropfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dropfile.js b/core/dropfile.js index 555f3dd7..a84eaec3 100644 --- a/core/dropfile.js +++ b/core/dropfile.js @@ -154,13 +154,13 @@ function DropFile(client, fileType) { // :TODO: local/serial/telnet need to be configurable -- which also changes socket handle! return iconv.encode([ '2', // :TODO: This needs to be configurable! - self.client.output._handle.fd.toString(), + self.client.output._handle.fd.toString(), // :TODO: ALWAYS -1 on Windows! '57600', Config.general.boardName, self.client.user.userId.toString(), self.client.user.properties.real_name || self.client.user.username, self.client.user.username, - self.client.user.getLegacySecurityLevel.toString(), + self.client.user.getLegacySecurityLevel().toString(), '546', // :TODO: Minutes left! '1', // ANSI self.client.node.toString(),