From 4270d7f3a712ac1106ae1b8dd4d8183437b954bd Mon Sep 17 00:00:00 2001 From: zefie Date: Thu, 12 Jun 2025 16:01:46 -0400 Subject: [PATCH] todo list --- zefie_wtvp_minisrv/includes/classes/WTVIRC.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js index d0d96f50..b38a3331 100644 --- a/zefie_wtvp_minisrv/includes/classes/WTVIRC.js +++ b/zefie_wtvp_minisrv/includes/classes/WTVIRC.js @@ -1,6 +1,13 @@ const net = require('net'); class WTVIRC { + /* + * WTVIRC - A simple IRC server implementation for WebTV + * Tested with WebTV and KvIRC + * This is a basic implementation and does not cover all IRC features. + * It supports basic commands like NICK, USER, JOIN, PART, PRIVMSG, NOTICE, TOPIC, AWAY, and PING. + * TODO: KICK, BAN, MODE, WHOIS. + */ constructor(minisrv_config, host = 'localhost', port = 6667, debug = false) { this.minisrv_config = minisrv_config; this.version = @@ -37,7 +44,7 @@ class WTVIRC { }; } - socket.write(':${this.servername} NOTICE AUTH :Welcome to minisrv IRC Server\r\n'); + socket.write(`:${this.servername} NOTICE AUTH :Welcome to minisrv IRC Server\r\n`); socket.on('data', data => { const lines = data.split(/\r\n|\n/).filter(Boolean);