From: Andy Spencer Date: Sun, 20 Dec 2015 02:54:02 +0000 (+0000) Subject: Rearrange sp_say X-Git-Url: http://pileus.org/git/?p=~andy%2Frhawk;a=commitdiff_plain;h=6d31661edfd81e23d36f2a393144d1a70419a752 Rearrange sp_say --- diff --git a/spades.awk b/spades.awk index a9ac2a3..04a03a9 100644 --- a/spades.awk +++ b/spades.awk @@ -159,10 +159,10 @@ function sp_load(file, game) function sp_say(msg) { - print strftime("%Y-%m-%d %H:%M:%S | ") msg >> "logs/" sp_log - fflush("logs/" sp_log) say(sp_channel, msg) print msg |& sp_sock + print strftime("%Y-%m-%d %H:%M:%S | ") msg >> "logs/" sp_log + fflush("logs/" sp_log) } function sp_pretty(cards, who)