Changeset 3749

Show
Ignore:
Timestamp:
10/12/07 19:49:11 (7 months ago)
Author:
akempgen
Message:

More support for receiving room notices and messages that are directed only to users with certain user modes (for example "PRIVMSG %#room :my notice"). Fixes #1117

Files:

Legend:

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

    r3748 r3749  
    15261526                if( ! [targetName length] ) return; 
    15271527 
    1528                 if( [targetName characterAtIndex:0] == '@' ) { 
     1528                if( [[_serverInformation objectForKey:@"roomMemberPrefixes"] characterIsMember:[targetName characterAtIndex:0]] ) { 
    15291529                        // This is a special filtered target. 
    15301530                        // @#room       sends only to the operators on the room 
     
    16151615                if( ! [targetName length] ) return; 
    16161616 
    1617                 if( [targetName characterAtIndex:0] == '@' ) { 
     1617                if( [[_serverInformation objectForKey:@"roomMemberPrefixes"] characterIsMember:[targetName characterAtIndex:0]] ) { 
    16181618                        // This is a special filtered target. 
    16191619                        // @#room       sends only to the operators on the room