- Timestamp:
- Dec 15, 2010, 2:51:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/libraries/network/MasterServer.cc
r7756 r7763 186 186 } 187 187 188 else if( !strncmp( (char *)event->packet->data 189 + MSPROTO_GAME_SERVER_LEN+1, 190 MSPROTO_SERVERDC, MSPROTO_SERVERDC_LEN ) ) 191 { 192 /* create string from peer data */ 193 std::string name = std::string( addrconv ); 194 195 /* remove the server from the list it belongs to */ 196 this->mainlist.delServerByName( name ); 197 198 /* tell the user */ 199 COUT(2) << "Removed server " << name << " from list.\n"; 200 } 201 188 202 /* TODO add hook for disconnect here */ 189 203 }
Note: See TracChangeset
for help on using the changeset viewer.