def m_pong(conn, parv): '''Reply to PONG's.''' if not parv[0]: return if parv[0] not in var.servers: return logger.info('bursting to %s (%d user%s)' % (parv[0], var.servers[parv[0]]['users'], 's' if var.servers[parv[0]]['users'] != 1 else '')) if conn.server['actual'] == parv[0]: return
def m_pong(conn, parv): '''Reply to PONG's.''' # unsure about relevance to inspircd from charybdis. if not parv[0]: return if parv[0] not in var.servers: return logger.info('bursting to %s (%d user%s)' % (parv[0], var.servers[parv[0]]['users'], 's' if var.servers[parv[0]]['users'] != 1 else '')) if conn.server['actual'] == parv[0]: return
def m_squit(conn, parv): '''Handle server leavings.''' logger.info('server %s leaving from %s' % (parv[0], parv[1])) server.delete(parv[0])