From 998bbde49ea1ef919ea42498af4760dbac603bc2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 15 Sep 2011 18:28:39 +0000 Subject: (svn r22934) -Fix [FS#4771]: prevent authentication bypass for the admin port when a new game is started --- src/network/core/tcp_admin.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/network/core/tcp_admin.h') diff --git a/src/network/core/tcp_admin.h b/src/network/core/tcp_admin.h index ee34725f6..c0491f0cc 100644 --- a/src/network/core/tcp_admin.h +++ b/src/network/core/tcp_admin.h @@ -449,6 +449,15 @@ public: ~NetworkAdminSocketHandler(); NetworkRecvStatus ReceivePackets(); + + /** + * Get the status of the admin. + * @return The status of the admin. + */ + AdminStatus GetAdminStatus() const + { + return this->status; + } }; #endif /* ENABLE_NETWORK */ -- cgit v1.2.3-54-g00ecf