equal
deleted
inserted
replaced
289 { |
289 { |
290 qWarning("Net: Malformed READY message"); |
290 qWarning("Net: Malformed READY message"); |
291 return; |
291 return; |
292 } |
292 } |
293 emit setReadyStatus(lst[1], true); |
293 emit setReadyStatus(lst[1], true); |
|
294 if (lst[1] == mynick) |
|
295 emit setMyReadyStatus(true); |
294 return; |
296 return; |
295 } |
297 } |
296 |
298 |
297 if (lst[0] == "NOT_READY") { |
299 if (lst[0] == "NOT_READY") { |
298 if(lst.size() != 2) |
300 if(lst.size() != 2) |
299 { |
301 { |
300 qWarning("Net: Malformed NOT_READY message"); |
302 qWarning("Net: Malformed NOT_READY message"); |
301 return; |
303 return; |
302 } |
304 } |
303 emit setReadyStatus(lst[1], false); |
305 emit setReadyStatus(lst[1], false); |
|
306 if (lst[1] == mynick) |
|
307 emit setMyReadyStatus(false); |
304 return; |
308 return; |
305 } |
309 } |
306 |
310 |
307 if (lst[0] == "ADD_TEAM") { |
311 if (lst[0] == "ADD_TEAM") { |
308 if(lst.size() != 21) |
312 if(lst.size() != 21) |