|
@@ -368,7 +368,10 @@ module InterconnectionPointProtocolHandler
|
|
if online(username)
|
|
if online(username)
|
|
put_log "SYS User '#{username}' tried to double connect. Say bye bye."
|
|
put_log "SYS User '#{username}' tried to double connect. Say bye bye."
|
|
send_data "SYS Hey '#{username}', only one connection allowed. Bye.\n"
|
|
send_data "SYS Hey '#{username}', only one connection allowed. Bye.\n"
|
|
- EventMachine.add_timer 1, proc { close_connection }
|
|
|
|
|
|
+ EventMachine.add_timer 1, proc {
|
|
|
|
+ close_connection
|
|
|
|
+ write_user("PING check forced", username)
|
|
|
|
+ }
|
|
|
|
|
|
return false
|
|
return false
|
|
end
|
|
end
|