Changeset 3095
- Timestamp:
- May 27, 2009, 10:03:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Host.cc
r3074 r3095 99 99 bool Host::Chat(const std::string& message){ 100 100 if(!instance_) 101 return false; 101 { 102 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 103 it->incomingChat(message, 0); 104 return true; 105 } 102 106 return instance_->chat(message); 103 107 } … … 107 111 { 108 112 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 109 it->incomingChat(message, 0);113 it->incomingChat(message, CLIENTID_UNKNOWN); 110 114 return true; 111 115 }
Note: See TracChangeset
for help on using the changeset viewer.