OSDN Git Service

fix a typo
authorkonekoneko <jbh03215@hotmail.co.jp>
Fri, 30 May 2014 17:01:27 +0000 (02:01 +0900)
committerkonekoneko <jbh03215@hotmail.co.jp>
Fri, 30 May 2014 17:01:27 +0000 (02:01 +0900)
chat.js
ipban.js
room.js

diff --git a/chat.js b/chat.js
index 9e3d294..853db1c 100644 (file)
--- a/chat.js
+++ b/chat.js
@@ -10,8 +10,10 @@ $splited_log_file_name = "logfile%d_%s.txt"  //分割後のファイル名(%dと%
 \r
 var clients = new Array();\r
 \r
-var ipbanlist = new require("./ipban.js").IpBanCollecion();\r
-var $rooms = new require("./room.js").new RoomInfomationCollection();\r
+var IpBan = require("./ipban.js")\r
+var ipbanlist = new IpBan();\r
+var RoomInfomationCollection = require("./room.js");\r
+var $rooms = new RoomInfomationCollection();\r
 \r
 createLogDirectory();\r
 \r
index 5f2eca9..cd71581 100644 (file)
--- a/ipban.js
+++ b/ipban.js
@@ -1,5 +1,5 @@
 //IPBAN\83N\83\89\83X
-module.exports.IpBanCollecion = function()
+module.exports = function()
 {
        var config = require("./configure.js");
        var MySQLPool = new require("./mysql_pool.js");
diff --git a/room.js b/room.js
index c295da5..b64a059 100644 (file)
--- a/room.js
+++ b/room.js
@@ -1,5 +1,5 @@
 //RoomInfomationCollecion\83N\83\89\83X
-module.exports.RoomInfomationCollection = function()
+module.exports = function()
 {
        var config = require("./configure.js");
        var MySQLPool = new require("./mysql_pool.js");