This commit is contained in:
aozhiwei 2020-09-27 14:02:34 +08:00
parent ddf2194a86
commit 0382231b80

View File

@ -629,6 +629,7 @@ void Player::_CMGuildCreate(f8::MsgHdr& hdr, const cs::CMGuildCreate& msg)
{ {
cs::SMGuildCreate respmsg; cs::SMGuildCreate respmsg;
if (GuildId() != 0) { if (GuildId() != 0) {
SendErrorMsg("你已经有公会");
respmsg.set_errcode(1); respmsg.set_errcode(1);
respmsg.set_errmsg("你已经有公会"); respmsg.set_errmsg("你已经有公会");
SendMsg(respmsg); SendMsg(respmsg);