X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/blobdiff_plain/ebbae0a97c455e925b5a28a1e11853c5fed1c150..904451e244dc5b97ade762863d3e890fae40a49d:/bot.tcl diff --git a/bot.tcl b/bot.tcl index b07b567..e5da846 100755 --- a/bot.tcl +++ b/bot.tcl @@ -1413,7 +1413,7 @@ proc marktime_desc {mt} { def_setting marktime { set mt [nickdb_get $n marktime] set p $mt - if {[string match $mt {[0-9]*}} { append p s } + if {[string match {[0-9]*} $mt]} { append p s } append p ": " append p [marktime_desc $mt] return $p