summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
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())
}