Changeset 1103

Show
Ignore:
Timestamp:
31/10/08 09:20:32 (2 months ago)
Author:
faux
Message:

Events will not nick escape in PM, only in public.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/contrib/Events.java

    r1102 r1103  
    2121import uk.co.uwcs.choob.support.IRCInterface; 
    2222import uk.co.uwcs.choob.support.events.Message; 
     23import uk.co.uwcs.choob.support.events.PrivateEvent; 
    2324 
    2425public class Events 
     
    628629                                namelistb.append(message); 
    629630 
    630                         if( name.length() > 1 ) 
     631                        if( !(mes instanceof PrivateEvent) && name.length() > 1 ) 
    631632                        { 
    632633                                name = name.substring(0,1) + "'" + name.substring(1);