Bug Fixed: cannot return repo details

This commit is contained in:
dennydai 2016-06-15 17:26:11 +08:00
parent 4261e33836
commit c464bcf46c

View File

@ -47,7 +47,7 @@ function plugin_github_check($title, $check)
} }
} }
if (!empty($user['login'])) { if (!empty($user['login']) or !empty($repo['name'])) {
$BOT->msg($plugin_sendto, $msg); $BOT->msg($plugin_sendto, $msg);
}else{ }else{
$BOT->msg($plugin_sendto, 'User Not Found.'); $BOT->msg($plugin_sendto, 'User Not Found.');