lithemias boob
This commit is contained in:
parent
30a6251e14
commit
2e2b57fb91
2 changed files with 10 additions and 5 deletions
10
protocol.md
10
protocol.md
|
@ -477,16 +477,16 @@ TODO: MAKE THIS SECTION NOT LOOK LIKE SHIT
|
|||
### Master / Slave
|
||||
|
||||
#### M -> S (ID 2)
|
||||
0x01: KEY SIZE WAS INCORRECT
|
||||
100: KEY SIZE WAS INCORRECT
|
||||
|
||||
0x02: COULD NOT PARSE KEY
|
||||
101: COULD NOT PARSE KEY
|
||||
|
||||
#### M -> S (ID 4)
|
||||
0x01: MAX AUTH ATTEMPTS REACHED
|
||||
100: MAX AUTH ATTEMPTS REACHED
|
||||
|
||||
0x02: LICENSE DATA INCORRECT
|
||||
101: LICENSE DATA INCORRECT
|
||||
|
||||
0x03: LICENSE LIMIT REACHED
|
||||
102: LICENSE LIMIT REACHED
|
||||
|
||||
### Master / Client
|
||||
|
||||
|
|
|
@ -138,6 +138,11 @@ bool sosc::MasterIntra::Authentication(sosc::Packet &pck) {
|
|||
}
|
||||
}
|
||||
|
||||
query = this->queries->at(QRY_SERVER_LIST_ADD);
|
||||
query->Reset();
|
||||
query->BindText(pck[0], pck[1], );
|
||||
query->NonQuery();
|
||||
|
||||
_ctx.license_check_mtx.unlock();
|
||||
|
||||
this->authed = true;
|
||||
|
|
Loading…
Reference in a new issue