aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/twsidebar.tw
diff options
context:
space:
mode:
Diffstat (limited to 'twittperator/twsidebar.tw')
-rw-r--r--twittperator/twsidebar.tw5
1 files changed, 4 insertions, 1 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index 77450f7..8f4248e 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -425,7 +425,10 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
t.type = 'filter';
appendTweet(t, 'home', streamName);
appendTweet(t, 'filter', streamName);
- let (s = Config.sound.filter) (s && s.play());
+ (function () {
+ let s = Config.sound.filter;
+ return s && s.play();
+ })();
}
} else if (/^(keyword)$/.test(t.type)) {
appendTweet(t, 'home', streamName);