Author: bdonlan
Date: 2005-07-19 22:11:25 -0400 (Tue, 19 Jul 2005)
New Revision: 886

Modified:
   trunk/clients/ravish/ravish2.rb
Log:
crash fix for borked servers

Modified: trunk/clients/ravish/ravish2.rb
===================================================================
--- trunk/clients/ravish/ravish2.rb     2005-07-20 01:59:48 UTC (rev 885)
+++ trunk/clients/ravish/ravish2.rb     2005-07-20 02:11:25 UTC (rev 886)
@@ -368,7 +368,9 @@
                @chancontents.each_key { |cid|
                        if @chancontents[cid][uid]
                                win = find_window :channel, cid
-                               win.window.print "#{uid} has quit: 
(#{type}#{detail ? ": " + detail : ''})"
+                               if !win.nil?
+                                       win.window.print "#{uid} has quit: 
(#{type}#{detail ? ": " + detail : ''})"
+                               end
                                @chancontents[cid].delete uid
                        end
                }


Reply via email to