diff options
-rw-r--r-- | slacktopic.pl | 6 |
1 files 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. |