[LON-CAPA-cvs] cvs: loncom / lond

www lon-capa-cvs@mail.lon-capa.org
Fri, 09 Aug 2002 18:18:37 -0000


www		Fri Aug  9 14:18:37 2002 EDT

  Modified files:              
    /loncom	lond 
  Log:
  delete, not undef, to remove a hash entry in chatroom
  
  
Index: loncom/lond
diff -u loncom/lond:1.88 loncom/lond:1.89
--- loncom/lond:1.88	Fri Aug  9 13:43:30 2002
+++ loncom/lond	Fri Aug  9 14:18:36 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.88 2002/08/09 17:43:30 albertel Exp $
+# $Id: lond,v 1.89 2002/08/09 18:18:36 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1604,7 +1604,7 @@
 	foreach (keys %hash) {
 	    my ($thistime)=($_=~/(\d+)\_/);
 	    if ($thistime<$expired) {
-		undef $hash{$_};
+		delete $hash{$_};
 	    }
 	}
 	untie %hash;