OSDN Git Service
(root)
/
mubot4fb
/
mubot4fb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26c227
)
tiny cleanup
author
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Mon, 22 Oct 2012 03:25:56 +0000
(12:25 +0900)
committer
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Mon, 22 Oct 2012 03:25:56 +0000
(12:25 +0900)
mubot4fb.pl
patch
|
blob
|
history
diff --git
a/mubot4fb.pl
b/mubot4fb.pl
index
efb13bd
..
a94cdce
100755
(executable)
--- a/
mubot4fb.pl
+++ b/
mubot4fb.pl
@@
-202,7
+202,6
@@
sub _response {
sub _add {
my ($me, $args) =@_;
- my $post_ok = 1;
my ($resp, $resp_msg);
if ($args->{body} =~ /$mu_re/) {
@@
-218,6
+217,7
@@
sub _add {
$resp_msg = '既に '.$me->_format_submit($res).'に言ってますよ? '.$me->{fb}->post_uri($res->{fb_post_id});
}
} else {
+ my $post_ok = 1;
eval{$resp = $me->{fb}->publish($text, $uri)};
if ($@) {
$me->fb_init();