OSDN Git Service

fix fbo handling
authorISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Sat, 20 Oct 2012 21:35:24 +0000 (06:35 +0900)
committerISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Sat, 20 Oct 2012 21:35:24 +0000 (06:35 +0900)
mubot4fb.pl

index 17797d5..869ed4e 100755 (executable)
@@ -63,7 +63,7 @@ sub post_uri {
 sub remove {
        my ($me, $post_id) = @_;
 
-       my $uri = $fb->query->find($post_id)->uri_as_string;
+       my $uri = $me->{fbo}->query->find($post_id)->uri_as_string;
        my $req = HTTP::Request::Common::DELETE($uri);
        $req->header('Content-Length', 0);
        my $resp;