465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
|
user = [IRCUser IRCUserWithString: who];
if ([[user nickname] isEqual: _nickname]) {
[_nickname release];
_nickname = [nickname copy];
}
enumerator = [_channels keyEnumerator];
while ((channel = [enumerator nextObject]) != nil) {
if ([channel containsObject: [user nickname]]) {
[channel removeObject: [user nickname]];
[channel addObject: nickname];
}
}
|
|
|
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
|
user = [IRCUser IRCUserWithString: who];
if ([[user nickname] isEqual: _nickname]) {
[_nickname release];
_nickname = [nickname copy];
}
enumerator = [_channels objectEnumerator];
while ((channel = [enumerator nextObject]) != nil) {
if ([channel containsObject: [user nickname]]) {
[channel removeObject: [user nickname]];
[channel addObject: nickname];
}
}
|