aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/twsidebar.tw
diff options
context:
space:
mode:
authoranekos2015-09-29 22:27:32 +0900
committeranekos2015-09-29 22:27:32 +0900
commited15e58b7b7a44a7df7a5bc7a676ae6cc87ba073 (patch)
treec61fef7c8e180e049a0edc7bc5665b227c9b9d18 /twittperator/twsidebar.tw
parenta2021f6a85725d7cc505fb635debb2a8797ae2e5 (diff)
downloadvimperator-plugins-ed15e58b7b7a44a7df7a5bc7a676ae6cc87ba073.tar.bz2
unnnnnnnnnnnnnnnnnnnnlet
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);