summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-15 23:26:19 +0100
committermadmaxoft <github@xoft.cz>2014-02-15 23:26:19 +0100
commit52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d (patch)
treebe08d9dd979ca27cb23ad4e1d9be8f59941704aa /src/Root.cpp
parentDebuggers: Added code to test cCompositeChat functionality. (diff)
downloadcuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar.gz
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar.bz2
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar.lz
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar.xz
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.tar.zst
cuberite-52cd9dfe9f7cfc7c229049d98993f13b6b8ddd5d.zip
Diffstat (limited to 'src/Root.cpp')
-rw-r--r--src/Root.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 415a26dd3..206255916 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -543,11 +543,11 @@ void cRoot::ReloadGroups(void)
-void cRoot::LoopWorldsAndBroadcastChat(const AString & a_Message, eMessageType a_ChatPrefix)
+void cRoot::BroadcastChat(const AString & a_Message, eMessageType a_ChatPrefix)
{
for (WorldMap::iterator itr = m_WorldsByName.begin(), end = m_WorldsByName.end(); itr != end; ++itr)
{
- itr->second->LoopPlayersAndBroadcastChat(a_Message, a_ChatPrefix);
+ itr->second->BroadcastChat(a_Message, NULL, a_ChatPrefix);
} // for itr - m_WorldsByName[]
}