def uptime( self, sock, words ): """returns the current uptime""" msg = Uptime.getUptime().getString() self.sendMessage( sock, msg )