From a4b102b4ddda719e9417bc04fd863e23eabad400 Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 30 Sep 2004 16:55:57 +0000 Subject: [PATCH] allow it if the topic is not locked git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1028 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/Topic.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Modules/Topic.pl b/blootbot/src/Modules/Topic.pl index 58653f5..4e8f3d7 100644 --- a/blootbot/src/Modules/Topic.pl +++ b/blootbot/src/Modules/Topic.pl @@ -164,7 +164,7 @@ sub do_add { return; } - return unless (&hasFlag("T")); + return if ($channels{$chan}{t} and !&hasFlag("T")); my @prev = &topicDecipher($chan); my $new = "$args ($orig{who})"; -- 2.39.5