mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
fix message struct
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user