Changeset 2113

Show
Ignore:
Timestamp:
11/14/04 00:22:38 (4 years ago)
Author:
timothy
Message:

Fixed an exception that occurred when joining a room and a mode is set with no given member.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/overhaul/MVIRCChatConnection.m

    r2028 r2113  
    657657 
    658658        MVChatRoom *room = [self joinedChatRoomWithName:[self stringWithEncodedBytes:channel -> name]]; 
    659         MVChatUser *byMember = [self chatUserWithUniqueIdentifier:[self stringWithEncodedBytes:setby]]
     659        MVChatUser *byMember = ( setby ? [self chatUserWithUniqueIdentifier:[self stringWithEncodedBytes:setby]] : nil )
    660660 
    661661        unsigned int oldModes = [room modes];