mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-27 06:58:04 +02:00
IsAdmin + IsConnected.
This commit is contained in:
parent
25fec63455
commit
123fbd8317
8 changed files with 16 additions and 16 deletions
|
@ -28,7 +28,7 @@ func (h *MessageHandlerCtx) systemInit(session types.Session) error {
|
|||
members[session.ID()] = message.MemberData{
|
||||
ID: session.ID(),
|
||||
Name: session.Name(),
|
||||
IsAdmin: session.Admin(),
|
||||
IsAdmin: session.IsAdmin(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue