Ignore:
Timestamp:
02/03/10 16:22:18 (2 years ago)
Author:
james
Message:

don't allow realnames with % in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r1062 r1070  
    605605                return $nick 
    606606        } 
     607         
    607608        bMotion_putloglev 2 * "bMotion: IRLs for $handle are $realname" 
    608         return [pickRandom $realname] 
     609         
     610        set chosen_realname [pickRandom $realname] 
     611 
     612        if {[string first "%" $chosen_realname] > -1} { 
     613                bMotion_putloglev d * "not using $chosen_realname for $handle as it has a macro" 
     614                set chosen_realname $handle 
     615        } 
     616        return $chosen_realname 
    609617} 
    610618 
Note: See TracChangeset for help on using the changeset viewer.