Bug Fixed: cannot return repo details
This commit is contained in:
parent
4261e33836
commit
c464bcf46c
@ -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);
|
$BOT->msg($plugin_sendto, $msg);
|
||||||
}else{
|
}else{
|
||||||
$BOT->msg($plugin_sendto, 'User Not Found.');
|
$BOT->msg($plugin_sendto, 'User Not Found.');
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user