瀏覽代碼

send auth key to client

Kolja Strohm 3 年之前
父節點
當前提交
cd68cd0641
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      FactoryCraft/Server.cpp

+ 2 - 0
FactoryCraft/Server.cpp

@@ -302,6 +302,8 @@ void FCKlient::thread()
                                     zGameClient = (GameClient*)zGameClient->release();
                                 }
                                 klient->sende( "\1", 1 );
+                                klient->sende( (char*)&authKeyLen, 4 );
+                                klient->sende( authKey, authKeyLen );
                                 ok = true;
                             }
                         }