w3gh / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
7 stars 7 forks source link

No ban time on ban database entries #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As it's mentioned in
http://www.codelain.com/forum/index.php?topic=12420.0
all bans have time set to 00:00:00.

A fix was offered by Caesar555:

take the source open ghostdbmysql.cpp search for bool MySQLBanAdd and change 
the 4 CURDATE( ) you'll find in that function to CURRENT_TIMESTAMP()
I have no tbanned players but there shouldnt be a problem after the 
modification

Would be nice if this fix gets implemented.

Original issue reported on code.google.com by alicancu...@gmail.com on 24 Apr 2010 at 2:58