Allow no prefix here
This commit is contained in:
parent
e6878fdcb7
commit
20e9f00c82
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ class RecentChange
|
|||
$address = $address ? $address : $wgRC2UDPAddress;
|
||||
$prefix = $prefix ? $prefix : $wgRC2UDPPrefix;
|
||||
# Notify external application via UDP
|
||||
if( $address && $prefix ) {
|
||||
if( $address ) {
|
||||
$conn = socket_create( AF_INET, SOCK_DGRAM, SOL_UDP );
|
||||
if( $conn ) {
|
||||
$line = $prefix . $line;
|
||||
|
|
|
|||
Loading…
Reference in a new issue