mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix message struct
This commit is contained in:
parent
1e186e8239
commit
3788d81061
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user