diff --git a/client/views/msg_unhandled.tpl b/client/views/msg_unhandled.tpl
index 1a6fcfd7..69ad3fe5 100644
--- a/client/views/msg_unhandled.tpl
+++ b/client/views/msg_unhandled.tpl
@@ -1,4 +1,4 @@
-
+
{{tz time}}
diff --git a/client/views/network.tpl b/client/views/network.tpl
index 9da98019..d525dff2 100644
--- a/client/views/network.tpl
+++ b/client/views/network.tpl
@@ -1,5 +1,5 @@
{{#each networks}}
-
+
{{/each}}
diff --git a/src/models/network.js b/src/models/network.js
index f5576133..4a63d355 100644
--- a/src/models/network.js
+++ b/src/models/network.js
@@ -25,6 +25,7 @@ function Network(attr) {
irc: null,
serverOptions: {
PREFIX: [],
+ NETWORK: "",
},
chanCache: [],
});
diff --git a/src/plugins/irc-events/connection.js b/src/plugins/irc-events/connection.js
index 47cb331c..e44b7676 100644
--- a/src/plugins/irc-events/connection.js
+++ b/src/plugins/irc-events/connection.js
@@ -120,7 +120,7 @@ module.exports = function(irc, network) {
});
irc.on("server options", function(data) {
- if (network.serverOptions.PREFIX === data.options.PREFIX) {
+ if (network.serverOptions.PREFIX === data.options.PREFIX && network.serverOptions.NETWORK === data.options.NETWORK) {
return;
}
@@ -131,6 +131,7 @@ module.exports = function(irc, network) {
});
network.serverOptions.PREFIX = data.options.PREFIX;
+ network.serverOptions.NETWORK = data.options.NETWORK;
client.emit("network_changed", {
network: network.id,