]> Pileus Git - ~andy/rhawk/blobdiff - spades.awk
Rearrange sp_say
[~andy/rhawk] / spades.awk
index a9ac2a344e574edc96d94243afb784d62825d040..04a03a97dd984d91fa6af2388769cab2b268ef17 100644 (file)
@@ -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)