]> Pileus Git - ~andy/rhawk/commitdiff
Rearrange sp_say
authorAndy Spencer <andy753421@gmail.com>
Sun, 20 Dec 2015 02:54:02 +0000 (02:54 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 20 Dec 2015 02:54:02 +0000 (02:54 +0000)
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)