summaryrefslogtreecommitdiff
path: root/crystal/irc.cr
diff options
context:
space:
mode:
Diffstat (limited to 'crystal/irc.cr')
-rwxr-xr-xcrystal/irc.cr2
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]?