(svn r21668) -Feature: command logging using the admin interface (dihedral)

This commit is contained in:
rubidium
2010-12-30 18:14:37 +00:00
parent 661e13a86a
commit 6546561360
7 changed files with 135 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
#include "../stdafx.h"
#include "../debug.h"
#include "network_admin.h"
#include "network_client.h"
#include "network_server.h"
#include "network.h"
@@ -267,6 +268,7 @@ static void DistributeQueue(CommandQueue *queue, const NetworkClientSocket *owne
CommandPacket *cp;
while (--to_go >= 0 && (cp = queue->Pop(true)) != NULL) {
DistributeCommandPacket(*cp, owner);
NetworkAdminCmdLogging(owner, cp);
free(cp);
}
}