From 3a7313c027407e3b35360a021c72fe78f181d81d Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Wed, 17 Sep 2014 00:55:22 +0300
Subject: Remove getter for chatHandler.

---
 src/net/eathena/pethandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/net/eathena')

diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index bf453055e..1485c1de0 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -82,7 +82,7 @@ void PetHandler::emote(const uint8_t emoteId, const int petId A_UNUSED)
     if (mRandCounter > 10000)
         mRandCounter = 1000;
 
-    Net::getChatHandler()->talk(strprintf("\302\202\302e%dz%d",
+    chatHandler->talk(strprintf("\302\202\302e%dz%d",
         static_cast<int>(emoteId), mRandCounter), GENERAL_CHANNEL);
 }
 
-- 
cgit v1.2.3-70-g09d2