continue work reorganising and redoing EVERYTHING

This commit is contained in:
Daniel Oaks
2016-06-19 10:01:30 +10:00
parent 31c1df55a3
commit 08225c201d
11 changed files with 261 additions and 270 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ func (cs *ClientSocket) processIncomingLine(line string) bool {
command, canBeParsed := Commands[msg.Command]
if canBeParsed {
return command.Run(cs, msg)
return command.Run(cs.client.server, &cs.client, msg)
}
//TODO(dan): This is an error+disconnect purely for reasons of testing.
// Later it may be downgraded to not-that-bad.