summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js6
-rw-r--r--package.json3
2 files changed, 2 insertions, 7 deletions
diff --git a/index.js b/index.js
index 1975bc0..e65d207 100644
--- a/index.js
+++ b/index.js
@@ -21,7 +21,6 @@ $(document).on('click', 'a[href^="http"]', function(event) {
shell.openExternal(this.href);
});
-const irc = require('irc');
const IRC = require('irc-framework');
const client = new IRC.Client()
@@ -40,16 +39,13 @@ txtChannels = txtChannels.substring(0, txtChannels.length-1)
$("#channel-input").val(txtChannels);
$('#connect').on('click', function() {
-console.log($("#channel-input").val());
server = $("#server-input").val();
port = $("#port-input").val();
channels = $("#channel-input").val().split(" ");
myNick = $("#nick-input").val();
password = $("#password-input").val();
ssl = ($("#ssl-input:checked").val() == "on");
- console.log(ssl);
client.use(debugmiddleware.DebugMiddleware());
- console.log(server)
client.connect({
host: server,
port: port,
@@ -59,7 +55,7 @@ console.log($("#channel-input").val());
password: password,
tls: ssl,
rejectUnauthorized: false,
- version: "blachat 0.1.3"
+ version: pjson.name + " " + pjson.version
});
globals.myNick = myNick
diff --git a/package.json b/package.json
index de2854e..6cb5310 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "blachat",
- "version": "0.2.1",
+ "version": "0.3.0",
"description": "A modern IRC client",
"license": "GPL-3.0",
"repository": "http://www.blatech.co.uk/wjoe/blachat",
@@ -8,7 +8,6 @@
"dependencies": {
"semantic-ui": "^2.1.8",
"linkifyjs": "2.0.0-beta.9",
- "irc": "0.5.0",
"irc-framework": "2.0.0",
"electron-prebuilt": "0.37.3" }
}