Update rfc3164.proto.php

This commit is contained in:
Namhyeon Go 2020-01-23 21:22:51 +09:00 committed by GitHub
parent 909ce7bf96
commit 5eab10985e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,12 +8,14 @@
* @updated_on 2020-01-23
*/
function rfc3164_get_config() {
$config = get_config();
return array(
"hostname" => get_value_in_array("rfc3164_hostname", $config, ""),
"port" => get_value_in_array("rfc3164_port", $config, "")
);
if(check_function_exists("rfc3164_get_config")) {
function rfc3164_get_config() {
$config = get_config();
return array(
"hostname" => get_value_in_array("rfc3164_hostname", $config, ""),
"port" => get_value_in_array("rfc3164_port", $config, "")
);
}
}
if(check_function_exists("rfc3164_send_message")) {