fix message struct
This commit is contained in:
parent
1e186e8239
commit
3788d81061
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ func (h *MessageHandler) SessionCreated(id string, session types.Session) error
|
|||
|
||||
// if locked, notify admin about that
|
||||
if h.locked {
|
||||
if err := session.Send(message.MembersList{
|
||||
if err := session.Send(message.Admin{
|
||||
Event: event.ADMIN_LOCK,
|
||||
ID: id,
|
||||
}); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue