Changeset 3587

Show
Ignore:
Timestamp:
02/25/07 18:02:51 (2 years ago)
Author:
jmmv
Message:

Handle the /nick command so that it works in ICB. It only worked in IRC
and SILC "by chance".

OK'ed by timothy@.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Standard Commands/JVStandardCommands.m

    r3578 r3587  
    406406 
    407407                return YES; 
     408        } else if( ! [command caseInsensitiveCompare:@"nick"] ) { 
     409                NSString *newNickname = [arguments string]; 
     410                if( [newNickname length] > 0 ) 
     411                        [connection setNickname:newNickname]; 
     412                return YES; 
    408413        } 
    409414