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 {
|
||||
if m.Option(web.SHARE) != "" {
|
||||
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
|
||||
}
|
||||
switch value[mdb.TYPE] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user