GM 指令
This commit is contained in:
parent
79c1134386
commit
061f4011d2
@ -61,7 +61,7 @@ func (this *GM) OnInstallComp() {
|
||||
|
||||
//bingo:Iamyoudad
|
||||
func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (code pb.ErrorCode) {
|
||||
code = pb.ErrorCode_ReqParameterError
|
||||
|
||||
cmd = strings.Replace(cmd, " ", "", -1) // 去空格
|
||||
keys := strings.Split(cmd, ":")
|
||||
if len(keys) == 2 {
|
||||
|
Loading…
Reference in New Issue
Block a user