Changeset 3714

Show
Ignore:
Timestamp:
02/21/06 17:55:12 (3 years ago)
Author:
morris
Message:

Add exception guard

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCNews.m

    r3636 r3714  
    217217        NSMutableAttributedString       *post; 
    218218 
    219         fields  = [[notification userInfo] objectForKey:WCArgumentsKey]; 
     219        fields = [[notification userInfo] objectForKey:WCArgumentsKey]; 
     220         
     221        if([fields count] < 3) 
     222                return; 
     223         
    220224        nick    = [fields safeObjectAtIndex:0]; 
    221225        date    = [fields safeObjectAtIndex:1];