From 13043e9a6093115aba7f1c295bf577e58e4ba873 Mon Sep 17 00:00:00 2001 From: Ken Piper Date: Sat, 13 Dec 2014 18:36:41 -0500 Subject: [PATCH] Removed escaped messages --- client.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client.go b/client.go index 5063736..775b2fb 100644 --- a/client.go +++ b/client.go @@ -166,14 +166,6 @@ func (c *Client) handleShell(channel ssh.Channel) { parts := strings.SplitN(line, " ", 3) isCmd := strings.HasPrefix(parts[0], "/") - // Allow for messages starting with / that aren't commands to be escaped - if len(line) > 2 { - if line[:3] == "/ /" { - line = line[2:] - isCmd = false - } - } - if isCmd { // TODO: Factor this out. switch parts[0] {