~ecs/irchess

6cd37ac82af3471ed2c198f942ca557396abad83 — Ember Sawady 4 years ago 2ea80e0
Allow print and paste regardless of turn
1 files changed, 1 insertions(+), 1 deletions(-)

M main.go
M main.go => main.go +1 -1
@@ 47,7 47,7 @@ func onmsg(c *girc.Client, e girc.Event) {
		return
	}

	if cmd[1] != "new" {
	if cmd[1] != "new" && cmd[1] != "paste" && cmd[1] != "print" {
		if turn == chess.White {
			if white == "" {
				white = e.Source.Name