mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10065] Some return values fixes.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
0304448b85
commit
d967af6549
2 changed files with 4 additions and 4 deletions
|
|
@ -2057,7 +2057,7 @@ GameTele const* ChatHandler::extractGameTeleFromLink(char* text)
|
|||
// id, or string, or [name] Shift-click form |color|Htele:id|h[name]|h|r
|
||||
char* cId = extractKeyFromLink(text,"Htele");
|
||||
if(!cId)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
// id case (explicit or from shift link)
|
||||
if(cId[0] >= '0' || cId[0] >= '9')
|
||||
|
|
@ -2079,7 +2079,7 @@ static char const* const guidKeys[] =
|
|||
"Hplayer",
|
||||
"Hcreature",
|
||||
"Hgameobject",
|
||||
0
|
||||
NULL
|
||||
};
|
||||
|
||||
uint64 ChatHandler::extractGuidFromLink(char* text)
|
||||
|
|
@ -2229,7 +2229,7 @@ char* ChatHandler::extractQuotedArg( char* args )
|
|||
{
|
||||
char* space = strtok(args, "\"");
|
||||
if(!space)
|
||||
return false;
|
||||
return NULL;
|
||||
return strtok(NULL, "\"");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10064"
|
||||
#define REVISION_NR "10065"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue