Changeset 3518

Show
Ignore:
Timestamp:
01/01/07 00:18:20 (2 years ago)
Author:
timothy
Message:

Fixes the bug where the ban list would only should the last ban for the room. #784

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Chat Core/MVIRCChatConnection.m

    r3516 r3518  
    22722272                } 
    22732273 
    2274                 if( [room _bansSynced] ) [room _clearBannedUsers]; 
     2274                if( [room _bansSynced] ) { 
     2275                        [room _clearBannedUsers]; 
     2276                        [room _setBansSynced:NO]; 
     2277                } 
     2278 
    22752279                [room _addBanForUser:user]; 
    22762280        }