From bedd8caf2dfd5c3be8c86d9eea8336f6d1ef60ec Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 14 Jan 2001 13:04:46 +0000 Subject: [PATCH] topic info now includes length git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@239 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/Topic.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Modules/Topic.pl b/src/Modules/Topic.pl index 84eca7b..6cd8a14 100644 --- a/src/Modules/Topic.pl +++ b/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); -- 2.39.5