Commit 2ee779d13faa8676b6bbb37141d220b7326186f9

Authored by zhouhaihai
1 parent d9cb65a9

已经登陆

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/services/agent_ctrl.lua
... ... @@ -162,8 +162,8 @@ function _M:query_agent(fd, uid)
162 162  
163 163 -- self.f2u[f] 肯定存在;self.f2e[f]不存在,则说明在线,则需要踢下线
164 164 if not self.f2e[f] then
165   - local head = string.pack("H", actionCodes.Sys_kickdown)
166   - local bin = MsgPack.pack({msg = "该账号已登上其他机器"})
  165 + local head = string.pack("H", actionCodes.Sys_maintainNotice)
  166 + local bin = MsgPack.pack({body = "server_accountOccupied", iskey = true})
167 167 if #bin > 0 then bin = xxtea.encrypt(bin, XXTEA_KEY) end
168 168 socket.write(f, netpack.pack(head .. bin))
169 169 skynet.timeout(10, function ()
... ...