Bug Fixed: cannot return repo details
This commit is contained in:
+2
-2
@@ -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.');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user