Changeset 1058


Ignore:
Timestamp:
12/11/09 14:40:35 (2 years ago)
Author:
james
Message:

stop checking for +K ... very old code from before +bmotion days

this should fix bots both responding to stuff!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/interbot.tcl

    r954 r1058  
    7272                        set handle [nick2hand $bot $channel] 
    7373                        bMotion_putloglev 4 * "interbot: checking $bot's handle; $handle" 
    74                         if {[matchattr $handle b&K $channel] && [islinked $handle]} { 
     74                        if {[matchattr $handle b $channel] && [islinked $handle]} { 
    7575                                bMotion_putloglev 2 * "interbot: sending elect_initial to $bot for $channel" 
    7676                                putbot $handle "bmotion elect_initial $channel $myScore" 
     
    164164                        if [isbotnick $bot] { continue } 
    165165                        set handle [nick2hand $bot $channel] 
    166                         if [matchattr $handle b&K $channel] { 
     166                        if [matchattr $handle b $channel] { 
    167167                                putbot $handle "bmotion elect_reply $channel $myScore" 
    168168                        } 
     
    280280# send a fake event 
    281281proc bMotion_interbot_fake_event { botnick channel fromnick line } { 
    282         if {[matchattr $botnick b&K $channel] && [islinked $botnick]} { 
     282        if {[matchattr $botnick b $channel] && [islinked $botnick]} { 
    283283                putbot $botnick "bmotion fake_event $channel $fromnick $line" 
    284284 
Note: See TracChangeset for help on using the changeset viewer.