From b343013ee5127ff20b56cdffbebacdac06df0b11 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 28 Aug 2018 22:46:33 -0400 Subject: slacktopic.pl: don't do automatic update right after a forced one --- slacktopic.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slacktopic.pl b/slacktopic.pl index a44ba5e..d5e060b 100644 --- a/slacktopic.pl +++ b/slacktopic.pl @@ -239,10 +239,10 @@ sub start_update { } else { set_topic_date(get_channel(), $force_date, 1); } + } else { + # Don't do anything if we're not joined to the channel already. + exec_update() if get_channel(); } - - # Don't do anything if we're not joined to the channel already. - exec_update() if get_channel(); } # Called when an /exec finishes. -- cgit v1.2.3