diff options
author | est31 <MTest31@outlook.com> | 2015-11-09 06:04:24 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-11-09 06:04:24 +0100 |
commit | 63e7137e3bb3ef2531faac995e8817b2c3fedc8c (patch) | |
tree | 74ce090d61a52f008a51940e276cf7a24f516643 /src/server.h | |
parent | 889f893ff37021d97d1805c2e21128b5befa21f5 (diff) | |
download | minetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.tar.gz minetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.tar.bz2 minetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.zip |
Put ChatEvent handler into own function
Comply with line limit.
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |