1
0
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:
Cameron
2015-02-12 16:52:30 -08:00
parent 3e802c2751
commit dab64ca165
13 changed files with 41 additions and 32 deletions

View File

@@ -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;
}
}