From 63e7137e3bb3ef2531faac995e8817b2c3fedc8c Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 9 Nov 2015 06:04:24 +0100 Subject: Put ChatEvent handler into own function Comply with line limit. --- src/server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server.h') diff --git a/src/server.h b/src/server.h index 6d66c9386..5a19677cd 100644 --- a/src/server.h +++ b/src/server.h @@ -476,6 +476,8 @@ private: void DeleteClient(u16 peer_id, ClientDeletionReason reason); void UpdateCrafting(Player *player); + void handleChatInterfaceEvent(ChatEvent *evt); + // This returns the answer to the sender of wmessage, or "" if there is none std::wstring handleChat(const std::string &name, const std::wstring &wname, const std::wstring &wmessage, -- cgit v1.2.3