mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
New event trigger names reworked. Replaced all '-' with '_' for compatibility with e_notify.
This commit is contained in:
@@ -221,7 +221,7 @@ class e_online
|
||||
if (true === e107::getIPHandler()->add_ban(2,str_replace('--HITS--',$row['online_pagecount'],BANLAN_78),$ip,0))
|
||||
{
|
||||
e107::getEvent()->trigger('flood', $ip); //BC
|
||||
e107::getEvent()->trigger('user-ban-flood', $ip);
|
||||
e107::getEvent()->trigger('user_ban_flood', $ip);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user