trasa / watchmud

Simple gRPC based MUD server written in Go
MIT License
0 stars 0 forks source link

Receiving unauthenticated message shouldn't crash server #22

Open trasa opened 6 years ago

trasa commented 6 years ago

If the client fails to login or create an account, and then sends a command like 'look', the server will terminate with null pointer error; msg.Player will be null.

Instead need to refuse to process any commands from unauthenticated clients.