diff options
author | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-30 16:18:56 +0100 |
---|---|---|
committer | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-30 16:18:56 +0100 |
commit | a17c2faa9cf3ba50d4d1155870116e09e4cae3e1 (patch) | |
tree | 2f789df71d917229176debb31ab351fff698329e | |
parent | a94f91a8b8a09910198eed8ab4407bc0c9ef66eb (diff) | |
download | manamarket-a17c2faa9cf3ba50d4d1155870116e09e4cae3e1.tar.gz manamarket-a17c2faa9cf3ba50d4d1155870116e09e4cae3e1.tar.bz2 manamarket-a17c2faa9cf3ba50d4d1155870116e09e4cae3e1.tar.xz manamarket-a17c2faa9cf3ba50d4d1155870116e09e4cae3e1.zip |
Respond "No" to incoming trade requests.
-rwxr-xr-x | main.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() |