]> Pileus Git - ~andy/rhawk/commitdiff
Allow flexible joining
authorAndy Spencer <andy753421@gmail.com>
Sun, 23 Aug 2015 20:28:21 +0000 (20:28 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 23 Aug 2015 20:30:50 +0000 (20:30 +0000)
This fix a bug when ".newgame count" passes through to .join

spades.awk

index b7d08b1ee20fc95512e00761da3d08d21e5a034e..6cadbb3b4ffb0a3bd0462b0e76e91904a7fb49e8 100644 (file)
@@ -507,7 +507,7 @@ match($0, /^\.newgame ?([1-9][0-9]*) *- *([1-9][0-9]*)$/, _arr) {
        }
 }
 
-/^\.join$/ {
+/^\.join/ {
        if (sp_state == "new") {
                reply("There is no game in progress")
        }