diff options
-rw-r--r-- | slacktopic.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slacktopic.pl b/slacktopic.pl index 5091e3e..5f4a337 100644 --- a/slacktopic.pl +++ b/slacktopic.pl @@ -175,7 +175,7 @@ sub logmsg { # Called once at script load. sub init { - $log_window = window_find_name("(msgs)"); # should be status window + $log_window = window_find_name("(status)") || window_find_name("(msgs)"); if($log_window) { logmsg("Logging to status window"); } else { |