added stats module

This commit is contained in:
Jeena Paradies 2011-04-26 14:11:18 +02:00
parent d10a016808
commit 3a2a95855d
4 changed files with 50 additions and 2 deletions

View file

@ -111,6 +111,7 @@ handle_cast({srv_cmd, "define", _Headers, Data}, #state { table = Table } = Stat
{noreply, State};
handle_cast({game_cmd, Command, _Headers, Data}, #state { table = Table } = State) ->
ggs_stats:message(),
ggs_table:notify(Table, self(), {game, Command, Data}),
{noreply, State};