From dfd11c94c1ad5261caa43128a39fcce550edf61d Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 27 Mar 2014 12:28:05 +0100 Subject: Chat now works on the client side --- chat/messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat') diff --git a/chat/messages.go b/chat/messages.go index dbcd150..eed62fa 100644 --- a/chat/messages.go +++ b/chat/messages.go @@ -26,7 +26,7 @@ func (mt MsgType) String() string { return "???" } -func (mt *MsgType) MarshalJSON() ([]byte, error) { +func (mt MsgType) MarshalJSON() ([]byte, error) { return json.Marshal(mt.String()) } -- cgit v1.2.3-70-g09d2