Call conn_increment_passfail_count() for current bot connection in handle_bot_packet()
This commit is contained in:
parent
02b40e9df2
commit
b9538b1c5d
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ namespace pvpgn
|
|||
if (hash_eq(trypasshash1, oldpasshash1) != 1)
|
||||
{
|
||||
eventlog(eventlog_level_info, __FUNCTION__, "[{}] bot login for \"{}\" refused (wrong password)", conn_get_socket(c), loggeduser);
|
||||
conn_increment_passfail_count(c);
|
||||
conn_set_state(c, conn_state_bot_username);
|
||||
|
||||
if (!(rpacket = packet_create(packet_class_raw)))
|
||||
|
|
Loading…
Add table
Reference in a new issue