From c464bcf46cb125f370e21dfab28856d5d1537b46 Mon Sep 17 00:00:00 2001 From: dennydai Date: Wed, 15 Jun 2016 17:26:11 +0800 Subject: [PATCH] Bug Fixed: cannot return repo details --- plugins/github.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/github.php b/plugins/github.php index cb1646d..12f5821 100644 --- a/plugins/github.php +++ b/plugins/github.php @@ -47,8 +47,8 @@ function plugin_github_check($title, $check) } } -if (!empty($user['login'])) { +if (!empty($user['login']) or !empty($repo['name'])) { $BOT->msg($plugin_sendto, $msg); }else{ $BOT->msg($plugin_sendto, 'User Not Found.'); -} +} \ No newline at end of file