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/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Server.cpp') diff --git a/source/Server.cpp b/source/Server.cpp index 03fd3c4d8..21fbb97db 100644 --- a/source/Server.cpp +++ b/source/Server.cpp @@ -413,7 +413,7 @@ bool cServer::Start(void) -bool cServer::Command(cClientHandle & a_Client, const AString & a_Cmd) +bool cServer::Command(cClientHandle & a_Client, AString & a_Cmd) { return cRoot::Get()->GetPluginManager()->CallHookChat(a_Client.GetPlayer(), a_Cmd); } -- cgit v1.2.3