Merge pull request #1634 from Temtaime/patch-1

Fix type in warning message

Thanks to @Temtaime
This commit is contained in:
Lemongrass3110 2016-10-19 12:18:32 +02:00 committed by GitHub
commit 3ad16f04fb

View File

@ -315,7 +315,7 @@ int chlogif_parse_ackaccreq(int fd, struct char_session_data* sd){
sd->version = version; sd->version = version;
sd->clienttype = clienttype; sd->clienttype = clienttype;
if(sd->version != date2version(PACKETVER)) if(sd->version != date2version(PACKETVER))
ShowWarning("s aid=%d has an incorect version=%d in clientinfo. Server compiled for %d\n", ShowWarning("aid=%d has an incorect version=%d in clientinfo. Server compiled for %d\n",
sd->account_id,sd->version,date2version(PACKETVER)); sd->account_id,sd->version,date2version(PACKETVER));
switch( result ) switch( result )