mirror of
https://shylinux.com/x/icebergs
synced 2025-04-27 01:48:27 +08:00
fix usernick
This commit is contained in:
parent
c5d8e0a7d4
commit
e5e926fbc7
@ -34,13 +34,13 @@ func _sess_check(m *ice.Message, sessid string) {
|
|||||||
m.Option(ice.MSG_USERNICK, value[USERNAME])
|
m.Option(ice.MSG_USERNICK, value[USERNAME])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
|
||||||
m.Log_AUTH(
|
m.Log_AUTH(
|
||||||
USERNICK, m.Option(ice.MSG_USERNICK, value[USERNICK]),
|
USERNICK, m.Option(ice.MSG_USERNICK, value[USERNICK]),
|
||||||
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
|
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
|
||||||
USERROLE, m.Option(ice.MSG_USERROLE, kit.Select(UserRole(m, value[USERNAME]))),
|
USERROLE, m.Option(ice.MSG_USERROLE, kit.Select(UserRole(m, value[USERNAME]))),
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}
|
}
|
||||||
func _sess_create(m *ice.Message, username string) string {
|
func _sess_create(m *ice.Message, username string) string {
|
||||||
if m.Richs(USER, nil, username, nil) == nil {
|
if m.Richs(USER, nil, username, nil) == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user