OSDN Git Service

fixed fatal/moron bug of me
authormorimoto <morimoto@180c8125-5b33-4295-ad04-72a68a15b4cc>
Sun, 29 Jun 2008 09:03:44 +0000 (09:03 +0000)
committermorimoto <morimoto@180c8125-5b33-4295-ad04-72a68a15b4cc>
Sun, 29 Jun 2008 09:03:44 +0000 (09:03 +0000)
lib/plugins/12keyword

index ccd02f3..6bc6d43 100644 (file)
@@ -1,7 +1,7 @@
 # -*-perl-*-
 # keitairc/lib/plugins/12keyword
 # Keyword\8f\88\97\9d
-# $Id: 12keyword,v 1.2 2008-06-29 07:55:01 morimoto Exp $
+# $Id: 12keyword,v 1.3 2008-06-29 09:03:44 morimoto Exp $
 # $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/plugins/12keyword,v $
 
 # The line number (1 incremented) and filename below must be
@@ -18,9 +18,8 @@ $plugin = {
                        for my $keyword (split(',', $::cf->irc_keyword())){
                                $message =~ s|$keyword|<b>$keyword</b>|g;
                        }
-
-                       return sprintf('%s %s %s', $time, $nick, $message);
                }
+               return sprintf('%s %s %s', $time, $nick, $message);
        },
 };