svn: 1955
@@ -49,6 +49,7 @@ Lines prefixxed with '-' were disabled before release and are not finishsed, or
* Fixed users showing up in .whom after doing .botcmd and relinking the bot which the cmd was ran on. (#9)
* Default UID is now: -1 (Fixes running as root by accident. #12)
* Added some error logging for failed bind() listen() and getsockname()
+* Fixed DNS returning a blank reply for reverse lookups with missing records.
1.2.2
* Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.
@@ -879,7 +879,7 @@ static int parse_reply(char *response, size_t nbytes)
case DNS_PTR:
r = my_dn_expand((const unsigned char *) response, eop, ptr, result, sizeof(result));
- if (r != -1)
+ if (r != -1 && result[0])
answer_add(&q->answer, result);
break;
default: