Changeset 767 for branches/ithildin-1.1


Ignore:
Timestamp:
07/21/06 00:51:04 (6 years ago)
Author:
wd
Message:

Do not decrypt a host on signoff (this messes up whowas cloaking!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ithildin-1.1/modules/ircd/addons/hostcrypt.c

    r751 r767  
    243243    if (set) 
    244244        hostcrypt_encrypt(cli); 
    245     else 
    246         hostcrypt_decrypt(cli); 
     245    else { 
     246        /* Do not decrypt their hostname if they've been added to the 
     247         * history section.  This is indicative of an automated unsetting, 
     248         * not a manual one. */ 
     249        if (!(cli->flags & IRCD_CLIENT_HISTORY)) 
     250            hostcrypt_decrypt(cli); 
     251    } 
    247252 
    248253    return 1; 
Note: See TracChangeset for help on using the changeset viewer.