From 943dcaea14c7530eecca57af015f1007b3b9630f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 22 Jun 2013 19:08:34 +0000 Subject: Plugins can modify message in the OnChat() hook handler. FS #376 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1622 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Plugin.cpp') diff --git a/source/Plugin.cpp b/source/Plugin.cpp index 879a1a3d6..389ef15e4 100644 --- a/source/Plugin.cpp +++ b/source/Plugin.cpp @@ -57,7 +57,7 @@ bool cPlugin::OnBlockToPickups(cWorld * a_World, cEntity * a_Digger, int a_Block -bool cPlugin::OnChat(cPlayer * a_Player, const AString & a_Message) +bool cPlugin::OnChat(cPlayer * a_Player, AString & a_Message) { UNUSED(a_Player); UNUSED(a_Message); -- cgit v1.2.3