Changeset 3273

Show
Ignore:
Timestamp:
06/07/06 23:33:32 (2 years ago)
Author:
rinoa
Message:

Lets Half-ops, Administrators and Founders to change the topic. Fixes bug #177

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Inspectors/JVChatRoomInspector.m

    r3259 r3273  
    292292        unsigned int localUserModes = ( [[_room connection] localUser] ? [(MVChatRoom *)[_room target] modesForMemberUser:[[_room connection] localUser]] : 0 ); 
    293293        BOOL canEdit = ( localUserModes & MVChatRoomMemberOperatorMode ); 
     294        if( ! canEdit ) canEdit = ( localUserModes & MVChatRoomMemberHalfOperatorMode ); 
     295        if( ! canEdit ) canEdit = ( localUserModes & MVChatRoomMemberAdministratorMode ); 
     296        if( ! canEdit ) canEdit = ( localUserModes & MVChatRoomMemberFounderMode ); 
    294297 
    295298        [newBanButton setEnabled:canEdit];