Commit Diff
Diff:
6a152a04ffc38e59519ca32c85adf202662ba600
fea19ab90e66f467f4a592f97a284c428d90488f
Commit:
fea19ab90e66f467f4a592f97a284c428d90488f
Tree:
b5061f113e2aae1b67d868c020a84500761da4e8
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Fri Oct 2 03:31:34 2020 UTC
Message:
Suppress silent lines
blob - d23538c8293a328c04d75ec9e476dc16a5659404
blob + d2b3f97bbb023366d5432c997303d38304ecab09
--- Bible.tcl
+++ Bible.tcl
@@ -94,7 +94,9 @@ proc lookup {nick uhost hand args} {
putlog "$trans $book $chap $verseStart $verseEnd";
}
for {} {$verseStart <= $verseEnd} {incr verseStart} {
- putserv "PRIVMSG $target :[verse $trans $book $chap $verseStart]";
+ if { [string length $v] > 0 } {
+ putserv "PRIVMSG $target :$v";
+ }
}
}
putlog "$nick :$text"