Menu

#5 Missing var: Part checking

Confirmed
closed-fixed
Other (2)
5
2001-07-11
2001-07-07
Anonymous
No

[code]

[17:00:20] ~~~ Hippocrates part.#Passo_Fundo ~j@200.248.118.213 ( www.scoopsite.com )
[17:00:21] <bobot> [17:06] Tcl error [part:abuse]: can't read "chan": no such variable

[/code]

well, how can you all see, when the user parted the channel, the bot tried to use the part:abuse
proc, but he cannot read the "chan"

maybe a close error to the "msgs:abuse"

(posted by openglx)

Discussion

  • wreck age

    wreck age - 2001-07-07

    Logged In: YES
    user_id=241433

    Oops =P

    I guess this is what I get for always rushing things..

    Until a fixed version is available, you can fix this by
    finding this line in no.spam.tcl:

    if {![isbothost $from] && ![spamignore $from $chan] &&
    [spamchan [set chan [lindex $arg 0]] p]} {

    and Replace it with this one:

    if {[spamchan [set chan [lindex $arg 0]] p] && ![isbothost
    $from] && ![spamignore $from $chan]} {

     
  • Philip Richardson

    Logged In: YES
    user_id=113655

    Wreck - I sent out a copy of whip-that-bOOOO.tcl looking for you.

    This shall be fixed in the morning when I give a damn.

     
  • Philip Richardson

    • labels: 321435 --> Other
    • summary: check part error --> Missing var: Part checking
    • milestone: 114089 --> 112939
    • assigned_to: nobody --> ppslim
     
  • Philip Richardson

    • milestone: 112939 --> Confirmed
    • status: open --> closed-fixed
     
  • Philip Richardson

    Logged In: YES
    user_id=113655

    Confirmed, located, destroyed and waiting release with 1.7.1

     

Log in to post a comment.