Node address will be shown on nodelist lookup, if point address is not found

This commit is contained in:
Ianos Gnatiuc 2005-11-24 09:56:26 +00:00
parent d72bcc266b
commit 45cc7cef19
2 changed files with 5 additions and 3 deletions

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
+ Node address will be shown on nodelist lookup, if point address is not found.
+ ')' and '(' chars can be used for advanced search.
')' - shortcut for "<>:" (from, to, subject), and
'(' - for "#._*@%" (body, tagline, tearline, origin, signature, kludges)

View File

@ -1005,7 +1005,7 @@ void Lookup(GMsg* msg, Addr* addr, char* name, int topline, char* status) {
else
NLP->find(matchaddr);
found = (NLP->found() && (exactmatch || topline == -100));
found = NLP->found() && exactmatch;
if (found && (topline != -100))
{
@ -1015,7 +1015,7 @@ void Lookup(GMsg* msg, Addr* addr, char* name, int topline, char* status) {
found = false;
NLP->pop_state();
}
else if (!found && matchaddr.point && (topline == -100))
else if (!found && matchaddr.point)
{
matchaddr.point = 0;
NLP->find(matchaddr);