1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Added IPHandler() in flood notification email to properly format IP address

This commit is contained in:
Moc
2013-05-15 13:26:06 +02:00
parent e68cc32a70
commit 400617c190

View File

@@ -6,9 +6,6 @@
* Released under the terms and conditions of the * Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
* *
* Forum plugin notify configuration
*
*
*/ */
/** /**
@@ -204,7 +201,7 @@ function notify_logout()
function notify_flood($data) function notify_flood($data)
{ {
global $nt; global $nt;
$nt->send('flood', NT_LAN_FL_1, NT_LAN_FL_2.': '.$data); $nt->send('flood', NT_LAN_FL_1, NT_LAN_FL_2.': '.e107::getIPHandler()->ipDecode($data));
} }
function notify_subnews($data) function notify_subnews($data)