|
@@ -329,10 +329,12 @@ function OnConnection( socket ) {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (global.instances[ namespace ]) {
|
|
if ( global.instances[ namespace ].pendingList.pending ) {
|
|
if ( global.instances[ namespace ].pendingList.pending ) {
|
|
global.instances[ namespace ].pendingList.push( message );
|
|
global.instances[ namespace ].pendingList.push( message );
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
} else if ( message.action == "getState" ) {
|
|
} else if ( message.action == "getState" ) {
|
|
|
|
|
|
//distribute message to all clients on given instance
|
|
//distribute message to all clients on given instance
|