Archived
2
0

fix message struct

This commit is contained in:
m1k1o 2021-01-18 13:26:01 +01:00
parent 1e186e8239
commit 3788d81061

View File

@ -25,7 +25,7 @@ func (h *MessageHandler) SessionCreated(id string, session types.Session) error
// if locked, notify admin about that // if locked, notify admin about that
if h.locked { if h.locked {
if err := session.Send(message.MembersList{ if err := session.Send(message.Admin{
Event: event.ADMIN_LOCK, Event: event.ADMIN_LOCK,
ID: id, ID: id,
}); err != nil { }); err != nil {