forked from x/icebergs
opt some
This commit is contained in:
parent
0c50d80214
commit
fbdca73905
@ -39,7 +39,7 @@ func _header_share(m *ice.Message, arg ...string) {
|
|||||||
func _header_check(m *ice.Message, arg ...string) bool {
|
func _header_check(m *ice.Message, arg ...string) bool {
|
||||||
if m.Option(web.SHARE) != "" {
|
if m.Option(web.SHARE) != "" {
|
||||||
m.Cmd(web.SHARE, m.Option(web.SHARE), ice.OptionFields(""), func(value ice.Maps) {
|
m.Cmd(web.SHARE, m.Option(web.SHARE), ice.OptionFields(""), func(value ice.Maps) {
|
||||||
if web.IsNotValidShare(m, value) {
|
if web.IsNotValidShare(m, value[mdb.TIME]) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
switch value[mdb.TYPE] {
|
switch value[mdb.TYPE] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user