summaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:59:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:59:03 +0300
commit3aaebb5b7f1faf46d9f437ba00e7650147453952 (patch)
treefa5f0949dd16db6b30b0132a02f33d3fe784acb0 /src/listeners
parentc81a850333f6e651e0dddb764e98a0fae45ca5f4 (diff)
downloadmanaverse-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.gz
manaverse-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.bz2
manaverse-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.xz
manaverse-3aaebb5b7f1faf46d9f437ba00e7650147453952.zip
Remove getter for tradeHandler.
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/requesttradelistener.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/requesttradelistener.h b/src/listeners/requesttradelistener.h
index 6d549dcfd..494732d00 100644
--- a/src/listeners/requesttradelistener.h
+++ b/src/listeners/requesttradelistener.h
@@ -50,7 +50,7 @@ struct RequestTradeListener final : public ActionListener
const std::string &eventId = event.getId();
if (eventId == "ignore")
player_relations.ignoreTrade(tradePartnerName);
- Net::getTradeHandler()->respond(eventId == "yes");
+ tradeHandler->respond(eventId == "yes");
}
};