GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commit fca45cb5 authored by Cameron Munroe's avatar Cameron Munroe 💬
Browse files

Fix Typo

parent c082e55d
......@@ -23,10 +23,10 @@ function blackbox_info() {
}
// Looks for registrations, and runs check function.
$plugins->add_hook("member_register_start", "check");
$plugins->add_hook("member_register_start", "blackbox");
// Main Function for Checking Registrations.
function check(){
function blackbox(){
global $session;
......@@ -45,11 +45,11 @@ function check(){
}
if($reponse === "Y"){
if($response === "Y"){
error("Hello, please try again without having your VPN or Proxy active.");
exit();
}
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment