]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_rehash.c
Fix a quick compile warning.
[irc/rqf/shadowircd.git] / modules / m_rehash.c
index 40cc7de168acae4823b750c9d913a7641e1843a1..80333d1256205b4b4feb6417e3a8da511b29c045 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_rehash.c 3161 2007-01-25 07:23:01Z nenolod $
  */
 
 #include "stdinc.h"
@@ -174,7 +173,7 @@ rehash_txlines(struct Client *source_p)
        {
                aconf = ptr->data;
 
-               if(!aconf->hold)
+               if(!aconf->hold || aconf->lifetime)
                        continue;
 
                free_conf(aconf);
@@ -199,7 +198,7 @@ rehash_tresvs(struct Client *source_p)
        {
                aconf = ptr->data;
 
-               if(!aconf->hold)
+               if(!aconf->hold || aconf->lifetime)
                        continue;
 
                free_conf(aconf);
@@ -211,7 +210,7 @@ rehash_tresvs(struct Client *source_p)
        {
                aconf = ptr->data;
 
-               if(!aconf->hold)
+               if(!aconf->hold || aconf->lifetime)
                        continue;
 
                free_conf(aconf);