aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-08-24 03:19:28 -0400
committerB. Watson <yalhcru@gmail.com>2018-08-24 03:19:28 -0400
commit49962557a26a194f9169623fc9ae51eb46037cc0 (patch)
tree92ef92adb787a8c246c0e41aba06fbb56dd3a0ca
parentbadede80903cc0ea8e4a1bdc9c1397e38e70e34d (diff)
downloadmisc-scripts-49962557a26a194f9169623fc9ae51eb46037cc0.tar.gz
slacktopic.pl: fix typo
-rw-r--r--slacktopic.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/slacktopic.pl b/slacktopic.pl
index 22b8c40..12fe27b 100644
--- a/slacktopic.pl
+++ b/slacktopic.pl
@@ -122,7 +122,7 @@ sub update_check {
$t =~ s,\[\d\d\d\d-\d\d-\d\d\],[$new_date],;
# Don't do anything if the topic's already correct.
- if(if $t eq $chan->{topic}) {
+ if($t eq $chan->{topic}) {
debugmsg("topic already correct, not doing anything");
return;
}