[10065] Some return values fixes.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2010-06-15 18:13:32 +02:00
parent 0304448b85
commit d967af6549
2 changed files with 4 additions and 4 deletions

View file

@ -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, "\"");
}
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10064"
#define REVISION_NR "10065"
#endif // __REVISION_NR_H__