From a17c2faa9cf3ba50d4d1155870116e09e4cae3e1 Mon Sep 17 00:00:00 2001 From: Dipesh Amin Date: Tue, 30 Aug 2011 16:18:56 +0100 Subject: Respond "No" to incoming trade requests. --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index a43baad..ec4c3d0 100755 --- a/main.py +++ b/main.py @@ -801,6 +801,7 @@ def main(): elif packet.is_type(SMSG_TRADE_REQUEST): name = packet.read_string(24) logging.info("Trade request: " + name) + mapserv.sendall(trade_respond(False)) elif packet.is_type(SMSG_TRADE_RESPONSE): response = packet.read_int8() -- cgit v1.2.3-70-g09d2