mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Fix #792: irc-fw update changed socket reference
This commit is contained in:
parent
2d09e09223
commit
e56d0c3be0
1 changed files with 4 additions and 4 deletions
|
@ -64,16 +64,16 @@ module.exports = function(irc, network) {
|
|||
});
|
||||
|
||||
if (identd.isEnabled()) {
|
||||
irc.on("socket connected", function() {
|
||||
identd.hook(irc.connection.socket, client.name || network.username);
|
||||
irc.on("raw socket connected", function(socket) {
|
||||
identd.hook(socket, client.name || network.username);
|
||||
});
|
||||
}
|
||||
|
||||
if (identHandler) {
|
||||
let identSocketId;
|
||||
|
||||
irc.on("socket connected", function() {
|
||||
identSocketId = identHandler.addSocket(irc.connection.socket, client.name || network.username);
|
||||
irc.on("raw socket connected", function(socket) {
|
||||
identSocketId = identHandler.addSocket(socket, client.name || network.username);
|
||||
});
|
||||
|
||||
irc.on("socket close", function() {
|
||||
|
|
Loading…
Reference in a new issue