summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-03-27 12:28:05 +0100
committerKevin Chabowski <kevin@kch42.de>2014-03-27 23:51:07 +0100
commitdfd11c94c1ad5261caa43128a39fcce550edf61d (patch)
treeb80458e610077b17da9815d14f71f590d4de56af /chat
parentc35e43e9cf0f915236016a3f73a6ee6bc9962e0b (diff)
downloadsimplechat-dfd11c94c1ad5261caa43128a39fcce550edf61d.tar.gz
simplechat-dfd11c94c1ad5261caa43128a39fcce550edf61d.tar.bz2
simplechat-dfd11c94c1ad5261caa43128a39fcce550edf61d.zip
Chat now works on the client side
Diffstat (limited to 'chat')
-rw-r--r--chat/messages.go2
1 files changed, 1 insertions, 1 deletions
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())
}