Commit 1c76a1a0 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Fix a typo.

parent ea62bdb0
......@@ -272,7 +272,8 @@ sub get_robot_conf {
if (defined $robot and $robot ne '*') {
return $Conf{'robots'}{$robot}{$key}
if defined($Conf{'robots'}{$robot} // {})->{$key};
if defined $Conf{'robots'}{$robot}
and defined $Conf{'robots'}{$robot}{$key};
# default
return $Conf{$key};
Supports Markdown
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