sources/network/rconsession.cpp

changeset 29
e534f2f78196
parent 27
089e37c0887e
child 31
b5b5a6a96d91
--- a/sources/network/rconsession.cpp	Mon Dec 15 01:47:40 2014 +0200
+++ b/sources/network/rconsession.cpp	Mon Dec 15 02:03:08 2014 +0200
@@ -119,6 +119,9 @@
 METHOD
 RCONSession::handle_packet (Bytestream& packet, const IPAddress& from) -> void
 {
+	if (from != m_address)
+		return;
+
 	try
 	{
 		while (packet.bytes_left() > 0)

mercurial