Skip to content

Commit 507478c

Browse files
author
Till Brehm
committed
Update rspamd_plugin.inc.php
1 parent 7fa44a0 commit 507478c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/rspamd_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ function server_update($event_name, $data) {
508508
$mail_config = $app->getconf->get_server_config($conf['server_id'], 'mail');
509509

510510
$local_addrs = array();
511-
$ips = $app->db->queryAllRecords('SELECT `ip_address`, `ip_type` FROM ?? WHERE `server_id` = ?', $conf['mysql']['database'].'.server_ip', $conf['server_id']);
511+
$ips = $app->db->queryAllRecords('SELECT `ip_address`, `ip_type` FROM ?? WHERE `server_id` = ?', $conf['db_database'].'.server_ip', $conf['server_id']);
512512
if(is_array($ips) && !empty($ips)){
513513
foreach($ips as $ip){
514514
$local_addrs[] = array(

0 commit comments

Comments
 (0)