couple wrong return types

This commit is contained in:
faramir118
2012-04-11 19:58:12 +02:00
committed by Machiavelli
parent c09cd26739
commit e3f198ca56
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1335,7 +1335,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')
@@ -1507,7 +1507,7 @@ char* ChatHandler::extractQuotedArg(char* args)
{
char* space = strtok(args, "\"");
if (!space)
return false;
return NULL;
return strtok(NULL, "\"");
}
}