mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Capitalise constructor.
This commit is contained in:
parent
1744b8fb96
commit
29d94bf297
2 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ var fs = require("fs");
|
|||
var Client = require("./client");
|
||||
var mkdirp = require("mkdirp");
|
||||
var Helper = require("./helper");
|
||||
var oidentd = require("./oidentd");
|
||||
var Oidentd = require("./oidentd");
|
||||
|
||||
module.exports = ClientManager;
|
||||
|
||||
|
@ -13,7 +13,7 @@ function ClientManager() {
|
|||
this.clients = [];
|
||||
|
||||
if (typeof config.oidentd === "string") {
|
||||
this.identHandler = new oidentd(config.oidentd);
|
||||
this.identHandler = new Oidentd(config.oidentd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var fs = require("fs");
|
||||
var Helper = require("./helper");
|
||||
|
||||
function oidentdFile(file) {
|
||||
function OidentdFile(file) {
|
||||
this.file = Helper.expandHome(file);
|
||||
this.connectionId = 0;
|
||||
this.connections = {};
|
||||
|
@ -9,7 +9,7 @@ function oidentdFile(file) {
|
|||
this.refresh();
|
||||
}
|
||||
|
||||
oidentdFile.prototype = {
|
||||
OidentdFile.prototype = {
|
||||
hookSocket: function(socket, user) {
|
||||
var that = this;
|
||||
var id = null;
|
||||
|
@ -70,4 +70,4 @@ oidentdFile.prototype = {
|
|||
},
|
||||
};
|
||||
|
||||
module.exports = oidentdFile;
|
||||
module.exports = OidentdFile;
|
||||
|
|
Loading…
Reference in a new issue