diff options
author | Joe Rayhawk <jrayhawk+git@omgwallhack.org> | 2022-07-07 20:07:51 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk+git@omgwallhack.org> | 2022-07-07 20:07:51 -0700 |
commit | 6602c5f09bfca48d700d8530bb15aa852ddb5e25 (patch) | |
tree | 18113106c1bdc9b8e1ebf2424ec16a6eab669f4c /crystal | |
parent | 8031a23e31c65cdc75d68b5e3f28faf0071720c6 (diff) | |
download | twitchtools-6602c5f09bfca48d700d8530bb15aa852ddb5e25.tar.gz twitchtools-6602c5f09bfca48d700d8530bb15aa852ddb5e25.zip |
crystal/irc.cr: remove useless dxdiag commands on Windows
Diffstat (limited to 'crystal')
-rwxr-xr-x | crystal/irc.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crystal/irc.cr b/crystal/irc.cr index 2df28fa..3b592e9 100755 --- a/crystal/irc.cr +++ b/crystal/irc.cr @@ -817,8 +817,10 @@ loop do effectsmsg( settings, "overlay #{match[2]}" ) else end + {% if flag?(:unix) %} elsif ( cmd =~ /^(system|dxdiag|computer)$/ ) ircipc.send( { "##{settings["channel"]}", "| https://bungmonkey.omgwallhack.org/tmp/DxDiag.txt" } ) + {% end %} elsif ( cmd == "hackerman" ) ircipc.send( { "##{settings["channel"]}", "| https://bungmonkey.omgwallhack.org/img/hackerman.jpg" } ) elsif ( cmd =~ /^(songrequest|sr)$/ ) && match[2]? |