mirror of
https://shylinux.com/x/volcanos
synced 2025-07-03 13:01:18 +08:00
add some
This commit is contained in:
parent
e549701490
commit
de92df3b8a
@ -382,13 +382,13 @@ Volcanos(chat.ONEXPORT, {
|
||||
},
|
||||
title: function(can, title) { if (!can.isCmdMode()) { return }
|
||||
var list = []; function push(p) { p && list.indexOf(p) == -1 && list.push(p) }
|
||||
push(can.user.info.titles)
|
||||
can.base.beginWith(can.ConfIndex(), "web.team.") && can.base.endWith(can.ConfIndex(), ".portal") || can.user.isMobile || push(can.user.info.titles)
|
||||
// can.user.isMobile || push(can.user.info.titles)
|
||||
if (!can.user.isMobile) {
|
||||
if (arguments.length == 2 && !can.base.isIn(can.ConfIndex(), code.VIMER, wiki.FEEL)) { push(can.user.trans(can, can.ConfIndex().split(".").pop(), can.ConfHelp())) }
|
||||
}
|
||||
can.core.List(arguments, function(title, index) { index > 0 && push(title) })
|
||||
can.user.isMobile || push(can.user.mod.isPod? can.user.info.titles||can.ConfSpace()||can.misc.Search(can, ice.POD): location.host)
|
||||
can.base.beginWith(can.ConfIndex(), "web.team.") && can.base.endWith(can.ConfIndex(), ".portal") || can.user.isMobile || push(can.user.mod.isPod? can.user.info.titles||can.ConfSpace()||can.misc.Search(can, ice.POD): location.host)
|
||||
can.user.title(list.join(" "))
|
||||
},
|
||||
args: function(can) { return can.Option() },
|
||||
|
Loading…
x
Reference in New Issue
Block a user