Changeset 879

Show
Ignore:
Timestamp:
02/08/08 07:41:56 (11 months ago)
Author:
znx
Message:

Ignore self on quit/part in case of -chan

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/events.tcl

    r858 r879  
    106106  } 
    107107 
     108        # channel is missing when the bot itself is parting, so ignore itself 
     109        if [isbotnick $nick] { 
     110                return 0 
     111        }  
     112 
    108113        if {![channel get $channel bmotion]} { 
    109114                return 0 
     
    129134    return 0 
    130135  } 
     136 
     137        # channel is missing when the bot itself is quiting, so ignore itself 
     138        if [isbotnick $nick] { 
     139                return 0 
     140        }  
    131141 
    132142        if {![channel get $channel bmotion]} {