mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 12:33:07 +00:00
parent
6b597d3b2f
commit
b7814bc571
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ module.exports = function(irc, network) {
|
|||
});
|
||||
|
||||
irc.on("socket connected", function() {
|
||||
network.prefixLookup = {};
|
||||
irc.network.options.PREFIX.forEach(function(mode) {
|
||||
network.prefixLookup[mode.mode] = mode.symbol;
|
||||
});
|
||||
|
||||
network.channels[0].pushMessage(client, new Msg({
|
||||
text: "Connected to the network."
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue