Skip to content

Commit

Permalink
Fixed an display issue when setting a banreason containing characters…
Browse files Browse the repository at this point in the history
… like [ and ]
  • Loading branch information
Ratler committed Mar 2, 2012
1 parent 6b3310d commit f3f6312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ripecheck.tcl
Expand Up @@ -1342,7 +1342,7 @@ namespace eval ::ripecheck {
set tld [lindex [split $value] 0]
if {[regexp {^\.} $tld]} {
set tld [string tolower [lindex [split $tld "."] 1]]
set value [lrange [split $value] 1 end]
set value [join [lrange [split $value] 1 end]
if {$value != ""} {
set ::ripecheck::config($option!$tld) $value
putdcc $idx "\002RIPECHECK\002: Option '$option \[$tld\]' set with the value '$value'"
Expand Down

0 comments on commit f3f6312

Please sign in to comment.