Skip to content

Commit

Permalink
Added a few missing variables for onJoinRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Jun 29, 2010
1 parent 07f4337 commit bdb3a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ripecheck.tcl
Expand Up @@ -306,10 +306,10 @@ namespace eval ::ripecheck {
return 1
}
}
::ripecheck::onJoinRouter $iphost
::ripecheck::onJoinRouter $nick $host $channel $iphost
}

proc onJoinRouter { iphost } {
proc onJoinRouter { nick host channel iphost } {
# Only run RIPE check on numeric IP unless ripecheck.topchk is enabled
if {[regexp {[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$} $iphost]} {
putloglev $::ripecheck::conflag * "ripecheck: DEBUG - Found numeric IP $iphost ... scanning"
Expand Down

0 comments on commit bdb3a0d

Please sign in to comment.