summaryrefslogtreecommitdiff
path: root/src/network/network_command.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-30 18:14:37 +0000
committerrubidium <rubidium@openttd.org>2010-12-30 18:14:37 +0000
commit6546561360597708e61609de4290fb3b1cbe7068 (patch)
tree2472c0c34def0d4a7ab64fe04e13bd4aff20497e /src/network/network_command.cpp
parent661e13a86af45f88bc0fd7d8c045f66ceddd041e (diff)
downloadopenttd-6546561360597708e61609de4290fb3b1cbe7068.tar.xz
(svn r21668) -Feature: command logging using the admin interface (dihedral)
Diffstat (limited to 'src/network/network_command.cpp')
-rw-r--r--src/network/network_command.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index 9af6bfca1..5d39336ad 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -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);
}
}