From: dms Date: Sun, 14 Jan 2001 13:04:46 +0000 (+0000) Subject: topic info now includes length X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=90162a47cfb9a9572116fb9dbc9cb1e473523304;p=infobot.git topic info now includes length git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@239 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/Topic.pl b/blootbot/src/Modules/Topic.pl index 84eca7b..6cd8a14 100644 --- a/blootbot/src/Modules/Topic.pl +++ b/blootbot/src/Modules/Topic.pl @@ -476,9 +476,10 @@ sub Topic { if (exists $topic{$chan}{'Who'} and exists $topic{$chan}{'Time'}) { $reply = "topic on \002$chan\002 was last set by ". $topic{$chan}{'Who'}. ". This was done ". - &Time2String(time() - $topic{$chan}{'Time'}) ." ago."; + &Time2String(time() - $topic{$chan}{'Time'}) ." ago". + ". Length: ".length($topic{$chan}{'Current'}); my $change = $topic{$chan}{'What'}; - $reply .= "Change => $change" if (defined $change); + $reply .= ". Change => $change" if (defined $change); } &performStrictReply($reply);