equal
deleted
inserted
replaced
408 qWarning("Net: Bad LEFT message"); |
408 qWarning("Net: Bad LEFT message"); |
409 return; |
409 return; |
410 } |
410 } |
411 emit nickRemoved(lst[1]); |
411 emit nickRemoved(lst[1]); |
412 if (lst.size() < 3) |
412 if (lst.size() < 3) |
413 emit chatStringFromNet(tr("%1 *** %2 has left ]").arg('\x03').arg(lst[1])); |
413 emit chatStringFromNet(tr("%1 *** %2 has left").arg('\x03').arg(lst[1])); |
414 else |
414 else |
415 emit chatStringFromNet(tr("%1 *** %2 has left (%3) ]").arg('\x03').arg(lst[1], lst[2])); |
415 emit chatStringFromNet(tr("%1 *** %2 has left (%3)").arg('\x03').arg(lst[1], lst[2])); |
416 return; |
416 return; |
417 } |
417 } |
418 |
418 |
419 if(lst[0] == "ROOM") { |
419 if(lst[0] == "ROOM") { |
420 if(lst.size() < 2) |
420 if(lst.size() < 2) |
432 qWarning("Net: Bad LOBBY:LEFT message"); |
432 qWarning("Net: Bad LOBBY:LEFT message"); |
433 return; |
433 return; |
434 } |
434 } |
435 emit nickRemovedLobby(lst[1]); |
435 emit nickRemovedLobby(lst[1]); |
436 if (lst.size() < 3) |
436 if (lst.size() < 3) |
437 emit chatStringLobby(tr("%1 *** %2 has left ]").arg('\x03').arg(lst[1])); |
437 emit chatStringLobby(tr("%1 *** %2 has left").arg('\x03').arg(lst[1])); |
438 else |
438 else |
439 emit chatStringLobby(tr("%1 *** %2 has left (%3) ]").arg('\x03').arg(lst[1], lst[2])); |
439 emit chatStringLobby(tr("%1 *** %2 has left (%3)").arg('\x03').arg(lst[1], lst[2])); |
440 return; |
440 return; |
441 } |
441 } |
442 |
442 |
443 if (lst[0] == "RUN_GAME") { |
443 if (lst[0] == "RUN_GAME") { |
444 netClientState = 5; |
444 netClientState = 5; |