Changeset 1091


Ignore:
Timestamp:
10/02/10 10:43:03 (20 months ago)
Author:
znx
Message:

Fixing missing ident

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/events.tcl

    r1069 r1091  
    7070### bMotion_event_onjoin  
    7171proc bMotion_event_onjoin {nick host handle channel} { 
    72 #ignore me 
    73 if [isbotnick $nick] { 
    74 return 0 
    75 } 
    76  
    77 #ignore the J flag users 
    78 if [matchattr $handle J] { 
    79 return 0 
    80 } 
    81  
    82 #ignore bots without the I flag 
    83 if [matchattr $handle b-I] { 
    84 return 0 
    85 } 
    86  
    87 if {![channel get $channel bmotion]} { 
    88         return 0 
    89 } 
    90  
    91 set result [bMotionDoEventResponse "join" $nick $host $handle $channel ""] 
    92 } 
    93  
     72        #ignore me 
     73        if [isbotnick $nick] { 
     74                return 0 
     75        } 
     76 
     77        #ignore the J flag users 
     78        if [matchattr $handle J] { 
     79                return 0 
     80        } 
     81 
     82        #ignore bots without the I flag 
     83        if [matchattr $handle b-I] { 
     84                return 0 
     85        } 
     86 
     87        if {![channel get $channel bmotion]} { 
     88                return 0 
     89        } 
     90 
     91        set result [bMotionDoEventResponse "join" $nick $host $handle $channel ""] 
     92} 
    9493 
    9594### bMotion_event_onpart  
Note: See TracChangeset for help on using the changeset viewer.