

def serverisdown(self, server, responsecode):
    server.status = False
    server.uptimecounter = 0
    server.uptime = '0'
    server.responsecode = int(responsecode)
    responsecode.timeservercameback = 0
    server.put()
    if (server.notifylimiter == False):
        if server.notifywithprowl:
            self.notifyprowl(server)
        if server.notifywithemail:
            self.notifyemail(server)
    else:
        pass

dataset/ETHPy150Open infincia/AEServmon/checkservers.py CheckServers.serverisdown/VarMisuse@41/51 `server`->`responsecode`