mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 07:25:03 +01:00
rearrange config options
This commit is contained in:
@@ -103,11 +103,11 @@ func (s *Session) makeSignInResp(uid int) []byte {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.server.erupeConfig.DevModeOptions.HideLoginNotice {
|
if s.server.erupeConfig.HideLoginNotice {
|
||||||
bf.WriteUint8(0)
|
bf.WriteUint8(0)
|
||||||
} else {
|
} else {
|
||||||
bf.WriteUint8(1) // Notice count
|
bf.WriteUint8(1) // Notice count
|
||||||
noticeText := s.server.erupeConfig.DevModeOptions.LoginNotice
|
noticeText := s.server.erupeConfig.LoginNotice
|
||||||
ps.Uint32(bf, noticeText, true)
|
ps.Uint32(bf, noticeText, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user