<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,8 +11,8 @@ $Data::Dumper::Indent = 1;
 
 use vars qw($VERSION %IRSSI);
 
-$VERSION = &quot;2.1.0&quot;;
-my ($REV) = '$Rev: 489 $' =~ /(\d+)/;
+$VERSION = &quot;2.1.1&quot;;
+my ($REV) = '$Rev: 490 $' =~ /(\d+)/;
 %IRSSI = (
     authors     =&gt; 'Dan Boger',
     contact     =&gt; 'zigdon@gmail.com',
@@ -21,7 +21,7 @@ my ($REV) = '$Rev: 489 $' =~ /(\d+)/;
       . 'Can optionally set your bitlbee /away message to same',
     license =&gt; 'GNU GPL v2',
     url     =&gt; 'http://twirssi.com',
-    changed =&gt; '$Date: 2009-02-24 17:04:58 -0800 (Tue, 24 Feb 2009) $',
+    changed =&gt; '$Date: 2009-02-25 10:21:27 -0800 (Wed, 25 Feb 2009) $',
 );
 
 my $window;
@@ -911,7 +911,9 @@ sub monitor_child {
                     $meta{type}, $account, $meta{topic},
                     $meta{nick}, $marker,  $_
                   ];
-                if ( $meta{id} &gt;
+                if (
+                    exists $id_map{__searches}{ $meta{account} }{ $meta{topic} }
+                    and $meta{id} &gt;
                     $id_map{__searches}{ $meta{account} }{ $meta{topic} } )
                 {
                     $id_map{__searches}{ $meta{account} }{ $meta{topic} } =
@@ -925,7 +927,9 @@ sub monitor_child {
                   ];
             } elsif ( $meta{type} eq 'searchid' ) {
                 print &quot;Search '$meta{topic}' returned id $meta{id}&quot; if &amp;debug;
-                if ( $meta{id} &gt;=
+                if (
+                    exists $id_map{__searches}{ $meta{account} }{ $meta{topic} }
+                    and $meta{id} &gt;=
                     $id_map{__searches}{ $meta{account} }{ $meta{topic} } )
                 {
                     $id_map{__searches}{ $meta{account} }{ $meta{topic} } =
@@ -1289,6 +1293,7 @@ if ($window) {
                 my $num = keys %{ $id_map{__indexes} };
                 &amp;notice( sprintf &quot;Loaded old replies from %d contact%s.&quot;,
                     $num, ( $num == 1 ? &quot;&quot; : &quot;s&quot; ) );
+                &amp;cmd_list_search;
             };
         } else {
             &amp;notice(&quot;Failed to load old replies from $file: $!&quot;);</diff>
      <filename>twirssi.pl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7205cb870865011beea69facfaf7105cdd20dc0f</id>
    </parent>
  </parents>
  <author>
    <name>Dan Boger</name>
    <login></login>
    <email>zigdon@irc.peeron.com</email>
  </author>
  <url>http://github.com/bssteph/twirssi/commit/489e5ba1e6111befac548b74f6416fc181089b90</url>
  <id>489e5ba1e6111befac548b74f6416fc181089b90</id>
  <committed-date>2009-02-25T10:21:41-08:00</committed-date>
  <authored-date>2009-02-25T10:21:41-08:00</authored-date>
  <message>r490 - Make sure we don't create new search subscriptions by mistake, silly autovivication</message>
  <tree>8982cb3e6253341e3682b825d0d8dd1aea3c7cf2</tree>
  <committer>
    <name>Dan Boger</name>
    <login></login>
    <email>zigdon@irc.peeron.com</email>
  </committer>
</commit>
