refactor
This commit is contained in:
@@ -14,7 +14,7 @@ bool ChatServer::onEvent(const Archimedes::Event& event) {
|
||||
return true;
|
||||
} else */
|
||||
|
||||
if(type == app->getEventType("DataRecievedEvent")) {
|
||||
if(type == app->getEventType(SMEvent::DataRecievedEvent())) {
|
||||
|
||||
static ServerModule* sm; { sm = (ServerModule*) moduleInstances[ServerModule()]; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user